Class AccessTokens
Helper class to get the different kind of tokens used by services at editor time.
Implements
Inherited Members
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. |