docs.unity3d.com
    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
    Namespace: Unity.Services.Core.Editor
    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.GetServicesGatewayTokenAsync()

    Explicit Interface Implementations

    IAccessTokens.GetGenesisToken()

    The access token used by Genesis.

    Declaration
    string IAccessTokens.GetGenesisToken()
    Returns
    Type Description
    String

    Genesis Access Token.

    Implements
    IAccessTokens.GetGenesisToken()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023