Gamebase SDK for Unity 2.75.1 Toast Gamebase Platform

Loading...
Searching...
No Matches

## ◆ GetAuthProviderAccessToken()

static string GetAuthProviderAccessToken | ( | string | providerName | ) |
| static

Get Access Token from externally authentication SDK.

Since
  Added 1.4.0.

Parameters

  providerName | The providerName which is authentication provider.

Returns
  The access token from the authentication provider.(

Example Usage :

public void GetAuthProviderAccessTokenSample(string providerName)
{
string authProviderAccessToken = Gamebase.GetAuthProviderAccessToken(providerName);
Debug.Log(string.Format("authProviderAccessToken:{0}", authProviderAccessToken));
}
Toast.Gamebase.Gamebase.GetAuthProviderAccessToken
static string GetAuthProviderAccessToken(string providerName)
Get Access Token from externally authentication SDK.
Definition: Gamebase.cs:1697
Toast.Gamebase.Gamebase
The Gamebase class is core of Gamebase service.
Definition: Gamebase.cs:11