docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class RestrictedTokenResponse

    Response from GenerateRestrictedTokenAsync(RestrictedTokenOptions).

    Inheritance
    object
    RestrictedTokenResponse
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Authentication
    Assembly: Unity.Services.Authentication.dll
    Syntax
    public sealed class RestrictedTokenResponse

    Properties

    ExpiresIn

    Lifetime of the issued ID token, in seconds.

    Declaration
    public int ExpiresIn { get; }
    Property Value
    Type Description
    int

    IdToken

    The issued ID token.

    Declaration
    public string IdToken { get; }
    Property Value
    Type Description
    string

    SessionToken

    The issued session token.

    Declaration
    public string SessionToken { get; }
    Property Value
    Type Description
    string

    UserId

    The player ID the issued tokens belong to.

    Declaration
    public string UserId { get; }
    Property Value
    Type Description
    string
    In This Article
    Back to top
    Copyright © 2026 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)