Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
languagec#
await _accountManager.SetUserAsVerified(CurrentUser.Id);

Caveats

Only accessible within the MTOA environment.