signin
This method verifies that a given username/password is valid and corresponds to a registered user.
Parameters
| string |
method |
(required)
signin
|
| string |
api_key |
(required)
API key assigned to your account.
|
| string |
username |
(optional)
Registered username.
|
| string |
email |
(optional)
Registered email address.
|
| string |
password |
(required)
SHA/1 encoded password with the prefix "sha1:" - see example below.
|
Sample password
sha1:f01e86be4829e2764ce55284c80d32cefd08fd78
Result explanation
| array |
userid |
Userid corresponding to registered user.
|
Errors
| Missing method |
Method is not specified in the request. |
| Missing API key |
API key is missing in the request. |
| Invalid API key |
API key not accepted. |
| Missing username or email address |
Username or email address missing in the request. |
| Missing password |
Password is missing in the request. |
| Invalid login/password |
Login/password do not match. |