Skip to content

This Python project implements Tencent-RTC's UserSig authentication

License

Notifications You must be signed in to change notification settings

Tencent-RTC/tls-sig-api-v2-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note

This Python project implements Tencent-RTC's UserSig authentication, providing a secure server-side method for generating signatures to protect the keys from leakage.

Integration

It can be integrated using pip or source code.

pip

pip install tls-sig-api-v2

source code

Just download the file TLSSigAPIv2.py to the local.

Usage

import TLSSigAPIv2

api = TLSSigAPIv2.TLSSigAPIv2(1400000000, '5bd2850fff3ecb11d7c805251c51ee463a25727bddc2385f3fa8bfee1bb93b5e')
sig = api.gen_sig("xiaojun")
print(sig)

About

This Python project implements Tencent-RTC's UserSig authentication

Resources

License

Stars

Watchers

Forks