Token source that uses LiveKit Cloud's development token server (development only).
More...
#include <token_source.h>
|
|
struct | DevelopmentTokenSourceTestAccess |
| |
Token source that uses LiveKit Cloud's development token server (development only).
Use this for local development and quick testing when you do not yet have your own backend token endpoint. Do not use in production.
- See also
- https://docs.livekit.io/frontends/build/authentication/sandbox-token-server/
◆ create()
Create a token source backed by the LiveKit Cloud development token server.
- Parameters
-
| token_server_id | Development token server identifier from LiveKit Cloud (surrounding whitespace is trimmed). |
| options | Development token server options. |
- Returns
- A configurable token source backed by the development token server.
◆ fetch()
Fetch connection credentials.
- Parameters
-
| options | Connection parameters encoded into the token request. |
- Returns
- Future resolving to connection details or an error.
Implements livekit::TokenSourceConfigurable.
The documentation for this class was generated from the following file: