Class TokenResponse
Authentication token response.
Inherited Members
Namespace: Unity.Services.Matchmaker.PayloadProxy
Assembly: Unity.Services.Multiplayer.dll
Syntax
[Preserve]
[DataContract(Name = "TokenResponse")]
public class TokenResponse
Constructors
TokenResponse()
Creates a default instance of TokenResponse.
Declaration
[Preserve]
public TokenResponse()
TokenResponse(string, string)
Creates an instance of TokenResponse.
Declaration
[Preserve]
public TokenResponse(string token, string error)
Parameters
Type | Name | Description |
---|---|---|
string | token | JWT Token string associated to payload requests |
string | error | Internal multiplay error occurred retrieving the JWT |
Properties
Error
Internal multiplay error occurred retrieving the JWT
Declaration
[Preserve]
[DataMember(Name = "error", IsRequired = true, EmitDefaultValue = true)]
public string Error { get; set; }
Property Value
Type | Description |
---|---|
string |
Token
JWT Token string associated to payload requests
Declaration
[Preserve]
[DataMember(Name = "token", IsRequired = true, EmitDefaultValue = true)]
public string Token { get; set; }
Property Value
Type | Description |
---|---|
string |