Extends
Members
Methods
# getRetryAfter(userID) → {number}
Gets the number of seconds until when a new password login can be attempted.
Parameters:
Name | Type | Description |
---|---|---|
userID |
string
|
The UUID of the user. |
number
# getUserState(userID) → {LocalStorageUser}
Gets the state of the specified user.
Parameters:
Name | Type | Description |
---|---|---|
userID |
string
|
The UUID of the user. |
# setRetryAfter(userID, seconds) → {PasswordState}
Sets the number of seconds until a new password login can be attempted.
Parameters:
Name | Type | Description |
---|---|---|
userID |
string
|
The UUID of the user. |
seconds |
string
|
Number of seconds the passcode is valid for. |