TokenSourceJwt extension
Properties
- jwtPayload → LiveKitJwtPayload?
-
Available on TokenSourceResponse, provided by the TokenSourceJwt extension
Decode the participant token and return the parsed payload, if valid.no setter
Methods
-
dispatchesAgent(
) → bool -
Available on TokenSourceResponse, provided by the TokenSourceJwt extension
Returnstruewhen the token's room configuration dispatches at least one agent. -
hasValidToken(
{Duration tolerance = const Duration(seconds: 60), DateTime? currentTime}) → bool -
Available on TokenSourceResponse, provided by the TokenSourceJwt extension
Returnstruewhen the participant token is valid (not expired and past its not-before time).