docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AccessTokens

    Helper class to get the different kind of tokens used by services at editor time.

    Inheritance
    object
    AccessTokens
    Implements
    IAccessTokens
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Core.Editor
    Assembly: Unity.Services.Core.Editor.dll
    Syntax
    public class AccessTokens : IAccessTokens

    Constructors

    AccessTokens()

    Initialize a new instance of the AccessTokens class.

    Declaration
    public AccessTokens()

    Methods

    GetGenesisToken()

    The access token used by Genesis.

    Declaration
    public static string GetGenesisToken()
    Returns
    Type Description
    string

    Genesis Access Token.

    GetServicesGatewayTokenAsync()

    Task that represents an asynchronous operation to get services gateway token.

    Declaration
    public Task<string> GetServicesGatewayTokenAsync()
    Returns
    Type Description
    Task<string>

    Task with a result that represents the services gateway token.

    Implements

    IAccessTokens
    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)