Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Verifies a users' email

Description

Used to complete the verification process.

Package Details

Interface

IAccountManager

Syntax

_accountManager.VerifyEmail(int userId, string confirmationCode)

Returns

Task<EmailVerificationStatus>
enum EmailVerificationStatus (Success = 1, Invalid = 2, Expired = 3)

API

[POST] /api/v1/account/complete-email-verification

Parameters:

  • userId: [Integer] - User id

  • code: [String] - Confirmation code

Returns

Returns the Status of the Email Verification. One of the following values:

  • Success

  • Invalid

  • Expired

Example

var status = await _accountManager.VerifyEmail(userid, confirmationCode);

Caveats

Only accessible within the MTOA environment.

  • No labels