Skip to main content

endpoint

Function endpoint 

Source
pub fn endpoint(endpoint_url: impl Into<String>) -> TokenSourceEndpoint
Expand description

Creates a token source that fetches credentials from the given URL using the standard token endpoint format.

The given headers are sent along with every request, e.g. for authentication against the endpoint.

See https://docs.livekit.io/frontends/build/authentication/endpoint/ for the endpoint contract.