Skip to main content
Version: 6.0.0

ReSignIn

public BackndReturnObject ReSignIn();

Description

BACKND SDK requires an unexpired access_token or refresh_token stored in the device.
When reissuing is successful, access_token and refresh_token are updated to new values.

Example

Synchronous

Backnd.Player.ReSignIn();

Asynchronous

Backnd.Player.ReSignIn((callback) =>
{
// Post-process
});

ReturnCase

Success cases

When the update is successful
statusCode : 201

Error cases

When the user tries token login but there is no local access token in the device
statusCode : 400
errorCode : accessTokenError

When there is an attempt without CustomSignIn
statusCode : 400
errorCode : UndefinedParameterException

When the refresh_token expired because the user logged in to another device
statusCode : 401
errorCode : BadUnauthorizedException

When the user is blocked
statusCode : 403
errorCode : Reason for blocking entered in the console

When the refresh_token has expired after one year
statusCode: 410 errorCode: GoneResourceException,