LiveKit C++ Client SDK v1.4.0
Real-time audio/video/data SDK for C++
Loading...
Searching...
No Matches
livekit::TokenSourceConfigurable Class Referenceabstract

Base interface for token sources that generate credentials from request options. More...

#include <token_source.h>

Inheritance diagram for livekit::TokenSourceConfigurable:

Public Member Functions

virtual std::future< Result< TokenSourceResponse, TokenSourceError > > fetch (const TokenRequestOptions &options={})=0
 Fetch connection credentials.
 

Detailed Description

Base interface for token sources that generate credentials from request options.

Member Function Documentation

◆ fetch()

virtual std::future< Result< TokenSourceResponse, TokenSourceError > > livekit::TokenSourceConfigurable::fetch ( const TokenRequestOptions options = {})
pure virtual

Fetch connection credentials.

Parameters
optionsConnection parameters encoded into the token request.
Returns
Future resolving to connection details or an error.

Implemented in livekit::CustomTokenSource, livekit::EndpointTokenSource, livekit::SandboxTokenSource, and livekit::CachingTokenSource.


The documentation for this class was generated from the following file: