Login with Confirmation Code (LoginWithConfirmCode)
If login or binding fails, use the confirmation code returned by the backend to attempt login again, avoiding prompting the user with the authorization login interface.
Function Definition
public static void LoginWithConfirmCode(int actionType);
Input Parameters
| Parameters | Type | Explanation |
|---|---|---|
| actionType | int | 0: General login 1: Bind channel account to current guest |
Callback processing
The callback handler interface is AuthResultObserver.The callback data structure is AuthResult.
The callback ID is INTL_AUTH_LOGIN_WITH_CONFIRM_CODE.
Code example
INTLAPI.LoginWithConfirmCode(0); //General login