docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TokenResponse

    TokenResponse

    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.Apis.Proxy
    Assembly: Unity.Services.Apis.dll
    Syntax
    [DataContract(Name = "TokenResponse")]
    [Preserve]
    public class TokenResponse

    Constructors

    TokenResponse(string, string)

    Initializes a new instance of the TokenResponse class.

    Declaration
    [Preserve]
    public TokenResponse(string token = null, string error = null)
    Parameters
    Type Name Description
    string token

    JWT Token string associated to payload requests.

    string error

    Internal error occurred retrieving the JWT.

    Properties

    Error

    Internal error occurred retrieving the JWT

    Declaration
    [DataMember(Name = "error", EmitDefaultValue = false)]
    [Preserve]
    public string Error { get; set; }
    Property Value
    Type Description
    string

    Internal error occurred retrieving the JWT

    Token

    JWT Token string associated to payload requests

    Declaration
    [DataMember(Name = "token", EmitDefaultValue = false)]
    [Preserve]
    public string Token { get; set; }
    Property Value
    Type Description
    string

    JWT Token string associated to payload requests

    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)