method
App.SetPassword
Validate and replace a local password, then revoke existing sessions and API keys.
Arguments
| Argument | Type | Description |
|---|---|---|
ctx | context.Context | The ctx value. |
collection | string | The collection value. |
userID | string | The userID value. |
password | string | The password value. |
Returns
The declared result.
errorFull signature
func (application *App) SetPassword(
ctx context.Context,
collection,
userID,
password string,
) errorRelated types
AppA resolved application bound to operation services.