Skip to main content
Version: 6.0.0

SignOut

public BackndReturnObject SignOut();

Description

The user is logged out from the server.
When the user is logged out, the server conducts a task to delete BACKND access_token and refresh_token.
Therefore, the existing access_token and refresh_token cannot be used anymore.

  • To get new access_token and refresh_token, you must undergo the procedure of SocialMediaSignIn/CustomSignUp/CustomSignIn.

Example

Synchronous

Backnd.Player.SignOut();

Asynchronous

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

Return cases

Success cases

When the SignOut is successful
statusCode : 204