Class TokenData
The data associated with the token.
Inherited Members
Namespace: Unity.Services.Lobbies.Models
Assembly: Unity.Services.Multiplayer.dll
Syntax
[Preserve]
[DataContract(Name = "TokenData")]
public class TokenData
Constructors
TokenData(string, string)
The data associated with the token.
Declaration
[Preserve]
public TokenData(string tokenValue = null, string uri = null)
Parameters
Type | Name | Description |
---|---|---|
string | tokenValue | The value of the token. |
string | uri | The URI of the token, if applicable. |
Properties
TokenValue
The value of the token.
Declaration
[Preserve]
[DataMember(Name = "tokenValue", EmitDefaultValue = false)]
public string TokenValue { get; }
Property Value
Type | Description |
---|---|
string |
Uri
The URI of the token, if applicable.
Declaration
[Preserve]
[DataMember(Name = "uri", EmitDefaultValue = false)]
public string Uri { get; }
Property Value
Type | Description |
---|---|
string |