Token source that uses LiveKit Cloud's sandbox token server (development only).
More...
#include <token_source.h>
|
|
struct | SandboxTokenSourceTestAccess |
| |
Token source that uses LiveKit Cloud's sandbox 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 sandbox token server.
- Parameters
-
| sandbox_id | Sandbox identifier from LiveKit Cloud (surrounding whitespace is trimmed). |
| options | Sandbox token server options. |
- Returns
- A configurable token source backed by the sandbox 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: