Gamebase SDK for Unity 2.76.0 Toast Gamebase Platform

Loading...
Searching...
No Matches

## ◆ GetAuthProviderUserID()

static string GetAuthProviderUserID | ( | string | providerName | ) |
| static

Get User ID from externally authenticated SDK.

Since
  Added 1.4.0.

Parameters

  providerName | The providerName which is authentication provider.

Returns
  The user ID from the authentication provider.(

Example Usage :

public void GetAuthProviderUserIDSample(string providerName)
{
string authProviderUserID = Gamebase.GetAuthProviderUserID(providerName);
Debug.Log(string.Format("authProviderUserID:{0}", authProviderUserID));
}
Toast.Gamebase.Gamebase.GetAuthProviderUserID
static string GetAuthProviderUserID(string providerName)
Get User ID from externally authenticated SDK.
Definition Gamebase.cs:1676
Toast.Gamebase.Gamebase
The Gamebase class is core of Gamebase service.
Definition Gamebase.cs:11