Skip to main content
Version: SDK-5.11.2

CustomSignUp

public BackendReturnObject CustomSignUp (string id, string password);
public BackendReturnObject 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

BackendReturnObject bro = Backend.BMember.CustomSignUp("id" , "password");
if(bro.IsSuccess())
{
Debug.Log("Sign-up successful.");
}

Asynchronous

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

SendQueue

SendQueue.Enqueue(Backend.BMember.CustomSignUp, "id", "password", callback => {
if(callback.IsSuccess())
{
Debug.Log("Sign-up successful.");
}
});

Return cases

Success cases

When the sign-up is successful
statusCode : 201
message : Success

Error cases

When the device information is 'null'
statusCode : 400
errorCode : UndefinedParameterException
message : undefined device_unique_id, device_unique_id cannot be checked

When the project status is 'Maintenance'
statusCode : 401
errorCode : BadUnauthorizedException
message : bad serverStatus: maintenance, Invalid serverStatus: maintenance

When the device is blocked
statusCode : 403
errorCode : ForbiddenException
message : Forbidden blocked device, Blocked device

When there is a duplicated customId
statusCode : 409
errorCode : DuplicatedParameterException
message : Duplicated customId, Duplicated customId.