Class TokenSourceRequest
- Namespace
- Livekit.Server.Sdk.Dotnet
- Assembly
- LivekitApi.dll
public sealed class TokenSourceRequest : IMessage<TokenSourceRequest>, IEquatable<TokenSourceRequest>, IDeepCloneable<TokenSourceRequest>, IBufferMessage, IMessage
- Inheritance
-
TokenSourceRequest
- Implements
-
IBufferMessage
- Inherited Members
Constructors
TokenSourceRequest()
public TokenSourceRequest()
TokenSourceRequest(TokenSourceRequest)
public TokenSourceRequest(TokenSourceRequest other)
Parameters
otherTokenSourceRequest
Properties
HasParticipantIdentity
Gets whether the "participant_identity" field is set
public bool HasParticipantIdentity { get; }
Property Value
HasParticipantMetadata
Gets whether the "participant_metadata" field is set
public bool HasParticipantMetadata { get; }
Property Value
HasParticipantName
Gets whether the "participant_name" field is set
public bool HasParticipantName { get; }
Property Value
HasRoomName
Gets whether the "room_name" field is set
public bool HasRoomName { get; }
Property Value
ParticipantAttributes
Any participant attributes being included along with the credentials generation operation
public MapField<string, string> ParticipantAttributes { get; }
Property Value
ParticipantIdentity
The identity of the participant being requested for this client when generating credentials
public string ParticipantIdentity { get; set; }
Property Value
ParticipantMetadata
Any participant metadata being included along with the credentials generation operation
public string ParticipantMetadata { get; set; }
Property Value
ParticipantName
The name of the participant being requested for this client when generating credentials
public string ParticipantName { get; set; }
Property Value
RoomConfig
A RoomConfiguration object can be passed to request extra parameters should be included when generating connection credentials - dispatching agents, defining egress settings, etc More info: https://docs.livekit.io/home/get-started/authentication/#room-configuration
public RoomConfiguration RoomConfig { get; set; }
Property Value
RoomName
The name of the room being requested when generating credentials
public string RoomName { get; set; }
Property Value
Methods
ClearParticipantIdentity()
Clears the value of the "participant_identity" field
public void ClearParticipantIdentity()
ClearParticipantMetadata()
Clears the value of the "participant_metadata" field
public void ClearParticipantMetadata()
ClearParticipantName()
Clears the value of the "participant_name" field
public void ClearParticipantName()
ClearRoomName()
Clears the value of the "room_name" field
public void ClearRoomName()