ResetSecret sends a message with instructions for resetting an authentication secret. cred: address to use for the message. scheme: authentication scheme being reset. lang: human language as reported in the session. tmpToken: temporary authentication token params: authentication params.
(cred, scheme, lang string, tmpToken []byte, params map[string]any)
| 42 | // tmpToken: temporary authentication token |
| 43 | // params: authentication params. |
| 44 | ResetSecret(cred, scheme, lang string, tmpToken []byte, params map[string]any) error |
| 45 | |
| 46 | // Check checks validity of user's response. |
| 47 | // Returns the value of validated credential on success. |