Skip to main content
Version: 6.0.0

CustomSignUp

public BackndReturnObject CustomSignUp (string id, string password);
public BackndReturnObject CustomSignUp (string id, string password, string etc);

Parameters

ValueTypeDescription
idstringID required for custom account sign-up
passwordstringPassword required for custom sign-up
etcstring(Optional) Information you wish to save in addition

Description

The user manually selects the ID and password to sign up.

  • Accounts created through custom sign-up can be changed to Google/Apple/Facebook federation accounts.

Example

Synchronous

BackndReturnObject bro = Backnd.Player.CustomSignUp("id" , "password");
if(bro.IsSuccess())
{
Debug.Log("Sign-up successful.");
}

Asynchronous

Backnd.Player.CustomSignUp("id", "password", callback => {
if(callback.IsSuccess())
{
Debug.Log("Sign-up successful.");
}
});

Return cases

Success cases

When the sign-up is successful
statusCode : 201

Error cases

When the device information is 'null'
statusCode : 400
errorCode : UndefinedParameterException

When the project status is 'Maintenance'
statusCode : 401
errorCode : BadUnauthorizedException

When the device is blocked
statusCode : 403
errorCode : ForbiddenException

When there is a duplicated customId
statusCode : 409
errorCode : DuplicatedParameterException