Extends
Members
Methods
# getRetryAfter(userID) → {number}
Returns the number of seconds the rate limiting is active for.
Parameters:
Name | Type | Description |
---|---|---|
userID |
string
|
The UUID of the user. |
number
# async login(userID, password) → {Promise.<void>}
Logs in a user with a password.
Parameters:
Name | Type | Description |
---|---|---|
userID |
string
|
The UUID of the user. |
password |
string
|
The password. |
- See:
Promise.<void>
# async update(userID, password) → {Promise.<void>}
Updates a password.
Parameters:
Name | Type | Description |
---|---|---|
userID |
string
|
The UUID of the user. |
password |
string
|
The new password. |
- See:
Promise.<void>