Class AccessTokens
Helper class to get the different kind of tokens used by services at editor time.
Namespace: Unity.Services.Core.Editor
Syntax
public class AccessTokens
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 async Task<string> GetServicesGatewayTokenAsync()
Returns
Type | Description |
---|---|
Task<String> | Task with a result that represents the services gateway token. |