How can we help?

Searching:

0 results found

Auth/verifyMulfifactorBindingCode

POST /api/auth/verifyMultifactorBindingCode

Description

Enables the user to log in using Multi-factor Authentication (MFA).

See the following for request and response details ‒

See Also

Request ‒ Auth/verifyMultifactorBindingCode

This request uses the MFA token, authenticatorCode and bindingCode provided to the user in the MFA login response (by SMS or email).

Example JSON Auth/verifyMultifactorBindingCode Request

/// <summary>

/// Verify Mutlifactor binding code request

/// </summary>

[DataContract(Name = “verifyMultifactorBindingRequest”)]

public class VerifyMultifactorBindingRequest

{

/// <summary>

/// Gets or sets the MfaToken.

/// </summary>

[DataMember(Name = “token“)]

public string Token { get; set; }

 

/// <summary>

/// Gets or sets the Authenticator/OOB Code.

/// </summary>

[DataMember(Name = “authenticatorCode“)]

public string AuthenticatorCode { get; set; }

 

/// <summary>

/// Gets or sets the binding code.

/// </summary>

[DataMember(Name = “bindingCode“)]

public string BindingCode { get; set; }

}

Response ‒ Auth/verifyMultifactorBindingCode

The response returns an MFA authentication token.

Property Type Description
token String The MFA authorization token that can be used to access the Axonize system.
authenticatorCode Enum The MFA authentication identifier, which can be either SMS or Email.
authenticator String The Axonize authenticator provider.

Example JSON Auth/verifyMultifactorBindingCode Response

Status – 200 OK

[DataContract(Name = “mfaLoginResponse”)]

public class MFALoginResponse

{

[DataMember(Name = “token“)]

public string Token { get; set; }

 

[DataMember(Name = “authenticatorCode“)]

public string AuthenticatorCode { get; set; }

 

[DataMember(Name = “authenticator“)]

public string Authenticator { get; set; }

}