Developer Documentation

Construct a Token Generator

Construct a Token Generator

Creates a token generator that is used to generate room tokens on client side.

Important

It is ok for development and testing purposes to create room tokens on client side - but in production you should switch to server side generation of room tokens!

Inputs

NameTypeDescription
Access KeystringThe access key for generating room tokens. You need to get an access key by signing up to the service or create a test key by following our Getting Started guide.

Outputs

NameTypeDescription
Return ValueToken GeneratorThe constructed token generator object. Connect to Generate Room Token to generate a room token.