rtc-token
v1.1.7
Published
## Generate a token with the example code
Readme
Authenticate Users with a token
Generate a token with the example code
This section takes Example.js as an example to show how to generate a token with the sample code.
Before proceeding, ensure that you have installed a Java IDE.
- Install the Rtc-token repository.
- Open the
example.jsfile, replace the value ofappID,appCertificate,channelName, anduidwith your own, and comment out the code snippets ofbuildTokenWithUid. - Run the example project. Your token is generated and printed in your IDE.
