AuthMethodRegistrationChallengeMethodError class

Error that occurred during authentication method challenge request.

Extends

AuthActionErrorBase

Constructors

AuthMethodRegistrationChallengeMethodError(CustomAuthError)

Inherited Properties

errorData

Methods

isInvalidInput()

Checks if the input for auth method registration is incorrect.

isVerificationContactBlocked()

Checks if the error is due to the verification contact (e.g., phone number or email) being blocked. Consider using a different email/phone number or a different authentication method.

Inherited Methods

isRedirectRequired()

Check if client app supports the challenge type configured in Entra.

isTokenExpired()

Checks if the error is due to the expired continuation token.

Constructor Details

AuthMethodRegistrationChallengeMethodError(CustomAuthError)

new AuthMethodRegistrationChallengeMethodError(errorData: CustomAuthError)

Parameters

errorData
CustomAuthError

Inherited Property Details

errorData

errorData: CustomAuthError

Property Value

Inherited From AuthActionErrorBase.errorData

Method Details

isInvalidInput()

Checks if the input for auth method registration is incorrect.

function isInvalidInput(): boolean

Returns

boolean

true if the input is incorrect, false otherwise.

isVerificationContactBlocked()

Checks if the error is due to the verification contact (e.g., phone number or email) being blocked. Consider using a different email/phone number or a different authentication method.

function isVerificationContactBlocked(): boolean

Returns

boolean

true if the error is due to the verification contact being blocked, false otherwise.

Inherited Method Details

isRedirectRequired()

Check if client app supports the challenge type configured in Entra.

function isRedirectRequired(): boolean

Returns

boolean

True if client app doesn't support the challenge type configured in Entra, "loginPopup" function is required to continue the operation.

Inherited From AuthActionErrorBase.isRedirectRequired

isTokenExpired()

Checks if the error is due to the expired continuation token.

function isTokenExpired(): boolean

Returns

boolean

True if the error is due to the expired continuation token, false otherwise.

Inherited From AuthActionErrorBase.isTokenExpired