TokenSourceConfigurable class abstract
A token source that provides configurable options for room, participant, and agent parameters.
This abstract class allows dynamic configuration of connection parameters, making it suitable for production applications that need flexible authentication and room management.
Common implementations:
- SandboxTokenSource: For testing with LiveKit Cloud sandbox token server
- EndpointTokenSource: For custom backend endpoints using LiveKit's JSON format
- CachingTokenSource: For caching credentials (or use the
.cached()extension method)
- Implementers
- Available extensions
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cached(
{TokenStore? store, TokenValidator? validator}) → CachingTokenSource -
Available on TokenSourceConfigurable, provided by the CachedTokenSource extension
Wraps this token source with caching capabilities. -
fetch(
TokenRequestOptions options) → Future< TokenSourceResponse> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited