v1.0.0
Latest
2022.3+

Class TokenResponse

Authentication token response.

Inheritance
System.Object
TokenResponse
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Unity.Services.Matchmaker.PayloadProxy
Syntax
public class TokenResponse

Constructors

TokenResponse()

Creates a default instance of TokenResponse.

Declaration
public TokenResponse()

TokenResponse(String, String)

Creates an instance of TokenResponse.

Declaration
public TokenResponse(string token, string error)
Parameters
TypeNameDescription
System.Stringtoken

JWT Token string associated to payload requests

System.Stringerror

Internal multiplay error occurred retrieving the JWT

Properties

Error

Internal multiplay error occurred retrieving the JWT

Declaration
public string Error { get; set; }
Property Value
TypeDescription
System.String

Token

JWT Token string associated to payload requests

Declaration
public string Token { get; set; }
Property Value
TypeDescription
System.String