Token source that calls your backend token endpoint over HTTP.
More...
#include <token_source.h>
|
|
struct | EndpointTokenSourceTestAccess |
| |
Token source that calls your backend token endpoint over HTTP.
Recommended for most production apps: keep API keys server-side, expose a standardized token endpoint, and let the SDK request credentials with room, participant, and agent options.
- See also
- https://docs.livekit.io/frontends/build/authentication/endpoint/
◆ create()
Create a token source that fetches credentials from endpoint_url.
- Parameters
-
| endpoint_url | URL of your backend token endpoint. |
| options | HTTP transport options (method, headers, timeout). |
- Returns
- A configurable token source backed by
endpoint_url.
◆ fetch()
The documentation for this class was generated from the following file: