Class ClaimsModel
- Namespace
- Livekit.Server.Sdk.Dotnet
- Assembly
- LivekitApi.dll
All the claims of an access token, as built by AccessToken and read back by Verify(string).
public class ClaimsModel
- Inheritance
-
ClaimsModel
- Inherited Members
Properties
Attributes
Participant attributes.
public Dictionary<string, string> Attributes { get; set; }
Property Value
Identity
Participant identity (the sub claim).
public string Identity { get; set; }
Property Value
Inference
Inference grants, null when the token has none.
public InferenceGrants Inference { get; set; }
Property Value
Kind
Kind of participant: standard, egress, ingress, agent or sip.
public string Kind { get; set; }
Property Value
Metadata
Participant metadata, visible to the other participants.
public string Metadata { get; set; }
Property Value
Name
Display name of the participant.
public string Name { get; set; }
Property Value
Observability
Observability grants, null when the token has none.
public ObservabilityGrants Observability { get; set; }
Property Value
RoomConfig
Room configuration applied when the token creates the room; empty (never null) when not set.
public RoomConfiguration RoomConfig { get; set; }
Property Value
RoomPreset
Room configuration preset applied when the token creates the room.
public string RoomPreset { get; set; }
Property Value
Sha256
SHA-256 of the request body, which webhooks use to verify the body.
public string Sha256 { get; set; }
Property Value
Sip
SIP grants (the sip claim).
public SIPGrants Sip { get; set; }
Property Value
Video
Room grants (the video claim).
public VideoGrants Video { get; set; }