Gamebase SDK for Unity 2.69.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
providerNameThe 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));
}
static string GetAuthProviderUserID(string providerName)
Get User ID from externally authenticated SDK.
Definition Gamebase.cs:1647
The Gamebase class is core of Gamebase service.
Definition Gamebase.cs:11