Community Actions Channel
Parameters:
Name | Type | Description |
---|---|---|
config |
Object | |
services |
Object | |
emit |
function |
Returns:
- Type
- function
Methods
(inner) changePassword(params) → {Boolean}
change the password for an account
Parameters:
Name | Type | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
Properties
|
Returns:
- Type
- Boolean
(inner) isPasswordValid(params) → {Boolean}
validate password validity
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
params |
Object |
Properties
|
Returns:
- Type
- Boolean
(inner) login(params) → {Object}
login an account
Parameters:
Name | Type | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
Properties
|
Returns:
user details
- Type
- Object
(inner) requestPasswordChange(params) → {Boolean}
request email to change password
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
Properties
|
Returns:
- Type
- Boolean
(inner) requestResetEmail(params) → {Boolean}
request to change email associated with the account
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
Properties
|
Returns:
- Type
- Boolean
(inner) resetEmail(params) → {Boolean}
forcefully change email associated with a account
Parameters:
Name | Type | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
Properties
|
Returns:
- Type
- Boolean
(inner) setNewPassword(params) → {Boolean}
forcefully change password for a account
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
Properties
|
Returns:
- Type
- Boolean
(inner) signup(params) → {Object}
create a new account
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
Properties
|
Returns:
user details
- Type
- Object
(inner) twoFactorEnabled(params) → {Boolean}
check if twofactor is enable for the given email
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
params |
Object |
Properties
|
Returns:
- Type
- Boolean
(inner) validateUsername(params) → {Boolean}
validate username availability
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
params |
Object |
Properties
|
Returns:
- Type
- Boolean
(inner) verifyEmail(params) → {Boolean}
process email verification token
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
params |
Object |
Properties
|
Returns:
- Type
- Boolean
(inner) verifyResetEmail(params) → {Boolean}
process email change request
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
Properties
|
Returns:
- Type
- Boolean