TokenPayload

data class TokenPayload(val token: String)

Decodes a LiveKit connection token and grabs relevant information from it.

https://docs.livekit.io/home/get-started/authentication/

Constructors

Link copied to clipboard
constructor(token: String)

Properties

Link copied to clipboard

Key/value attributes attached to the participant

Link copied to clipboard

Date specifying the time after which this token is invalid.

Link copied to clipboard

Unique identity of the user, equivalent to io.livekit.android.room.participant.Participant.identity

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val jwt: JWT
Link copied to clipboard

The metadata of the participant

Link copied to clipboard
val name: String?

Display name for the participant, equivalent to io.livekit.android.room.participant.Participant.name

Link copied to clipboard

Date specifying the time before which this token is invalid.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Room related permissions.