Unbind (解绑)
It is not recommended to directly unbind login channels in the game client.To prevent players from transferring accounts through unbinding or re-binding, we suggest handling re-binding through customer service.
Unbind the login channel for the Player Network account.Once the channel unbinding is successful, you will not be able to log into the same Player Network account via the unbound channel.Next time you use this unbound channel to log in, a new Player Network SDK OpenID will be generated.Please note that the current login channel cannot be unbound.LI PASS does not support unbinding.
The currently logged in channel cannot be unbound.
Function definition
public static void Unbind(int channelId, string uid = "", string extraJson = "{}");
Parameter Explanation
| Name | Type | Explanation |
|---|---|---|
| channel | string | For the channel to be unbound, see INTLChannel. |
| uid | String | The account ID of the unbinding channel (optional) |
| extraJson | string | Optional, extended field |
Callback Handling
The callback handling interface is AuthBaseResultObserver.
The callback data structure is BaseResult.
The callback ID is INTL_AUTH_UNBIND.
Code Example
INTLAPI.Unbind(4); // Unbind Facebook channel