Table of Contents

Class TokenSourceCustom

Namespace
LiveKit

Delegates connection-detail retrieval to a user-supplied async function. Use this when your app already has its own token-fetching code (custom auth flow, cached tokens, etc.).

public class TokenSourceCustom : ITokenSourceFixed, ITokenSource
Inheritance
TokenSourceCustom
Implements
Inherited Members
Extension Methods

Constructors

TokenSourceCustom(CustomTokenFunction)

public TokenSourceCustom(TokenSourceCustom.CustomTokenFunction customTokenFunction)

Parameters

customTokenFunction TokenSourceCustom.CustomTokenFunction

Methods

FetchConnectionDetails()

public Task<ConnectionDetails> FetchConnectionDetails()

Returns

Task<ConnectionDetails>