Skip to content

tls-sig-api-v2-node的typescript版本适用于腾讯云通信生成用户账号签名。

License

Notifications You must be signed in to change notification settings

moosoul/tls-sig-api-v2-node-typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm 集成

npm i tls-sig-api-v2-typescript

yarn 集成

yarn add tls-sig-api-v2-typescript

源码集成

将文件 TLSSigAPIv2.ts 放置于需要的路径下即可。

接口调用

import * as TLSSigAPIv2 from 'tls-sig-api-v2-typescript'
const api = new TLSSigAPIv2.Api(1400000000, "5bd2850fff3ecb11d7c805251c51ee463a25727bddc2385f3fa8bfee1bb93b5e");
const sig = api.genSig("xiaojun", 86400*180);
console.log(sig);

About

tls-sig-api-v2-node的typescript版本适用于腾讯云通信生成用户账号签名。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published