Gamebase SDK for Unity  1.10.0
Toast Gamebase Platform

◆ RemoveMapping()

static void RemoveMapping ( string  providerName,
GamebaseCallback.ErrorDelegate  callback 
)
static

Remove mapping with a specific IdP. If IdP mapping is not removed, error will occur.
After mapping is removed, Gamebase processes logout of the IdP.

Since
Added 1.4.0.
Parameters
providerNameThe providerName which is authentication provider.
callbackCallbacks the result of removing the mapping.

Example Usage :

public void RemoveMapping(string providerName)
{
Gamebase.RemoveMapping(providerName, (error) =>
{
if (Gamebase.IsSuccess(error))
{
Debug.Log("RemoveMapping succeeded.");
}
else
{
Debug.Log(string.Format("RemoveMapping failed. error is {0}", error));
}
});
}