docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TokenResponse

    Represents the response containing a JWT token and any error information from the Multiplay SDK Daemon Payload Proxy API.

    Inheritance
    object
    TokenResponse
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Matchmaker.PayloadProxy
    Assembly: Unity.Services.Matchmaker.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 with specified token and error.

    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
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)