Disconnect Identity Provider from Player
Prerequisites
List Connected Accounts
LootLockerSDKManager.ListConnectedAccounts((response) =>
{
// Optional handling of case where only 1 provider is left on the player
if (response.connected_accounts.Length == 1)
{
Debug.Log("Player has only 1 account connected. Disconnecting this provider will leave the player without any connected providers.");
return;
}
Debug.Log("Player has " + response.connected_accounts.Length.ToString() + " accounts connected.");
// Log all connected accounts to the console
foreach (var account in response.connected_accounts)
{
Debug.Log("Connected with: " + account.provider_name);
}
});Disconnect Account
Conclusion
Last updated
Was this helpful?


