...
Interface
IAccountManager
Syntax
_accountManagerAccountManager.SetUserAsVerified(int userId)
Returns
...
enum EmailVerificationStatus (Success = 1, Invalid = 2, Expired = 3)
API
[POST] /api/v1/account/complete-email-verification
Parameters
id: the users' id.
code: value for the confirmation code.
...
Success
Invalid
Expired
Example
Code Block | ||
---|---|---|
| ||
await _accountManager.SetUserAsVerified(CurrentUser.Id);
|
Caveats
Only accessible within the MTOA environment.