
| Name | Description | Type | Use |
|---|---|---|---|
| identifier | Specifies the name of the account. | string |
required |
| password | Specifies the password for the account. | string |
required |
| callback | Passed while sending a reply to the request referring to an account and its public user data. | object |
required |
The Account object's callback can be structured as
follows:
{
onFailure: function(error) { ... },
onSuccess: function(accountID) { ... }
}| Name | Description | Return type |
|---|---|---|
| onFailure |
Indicates that a request referring to an account was not processed. |
undefined |
| onSuccess |
Indicates that a request referring to an account was successfully processed. |
undefined |