Parameters of createTemporaryToken(). The token is a short-lived
credential for a session or an HTTP request made from a user's device:
mint a new one for every connection, reconnects included, and for every
HTTP request, and keep expires_in_seconds short.
Type declaration
expires_in_seconds: number
1 to 600 seconds the token can wait before it opens a session.
Optionalmax_session_duration_seconds?: number
At least 60: caps the duration of the session the token opens.
Parameters of
createTemporaryToken(). The token is a short-lived credential for a session or an HTTP request made from a user's device: mint a new one for every connection, reconnects included, and for every HTTP request, and keepexpires_in_secondsshort.