LiveKitJwtPayload class

Parsed payload for a LiveKit-issued JWT.

Constructors

LiveKitJwtPayload.fromClaims(Map<String, dynamic> claims)
factory

Properties

attributes → Map<String, String>?
Custom participant attributes.
no setter
claims → Map<String, dynamic>
A readonly view of the raw JWT claims.
no setter
expiresAt → DateTime?
Token expiration instant in UTC.
no setter
hashCode → int
The hash code for this object.
no setterinherited
identity → String?
JWT subject claim (participant identity).
no setter
issuedAt → DateTime?
Token issued-at instant in UTC.
no setter
issuer → String?
JWT issuer claim.
no setter
metadata → String?
Custom metadata associated with the participant.
no setter
name → String?
Display name for the participant.
no setter
notBefore → DateTime?
Token not-before instant in UTC.
no setter
roomConfiguration → RoomConfiguration?
Room configuration embedded in the token, if present.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
video → LiveKitVideoGrant?
Video-specific grants embedded in the token, if present.
no setter

Methods

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

Static Methods

fromToken(String token) → LiveKitJwtPayload?