MfaPolicyViolationException

class MfaPolicyViolationException(message: String? = null, val policy: MfaPolicy? = null, cause: Throwable? = null) : MfaException

Exception thrown when a credential violates authenticator policies during registration or evaluation.

This exception is thrown when policies are evaluated and found to be non-compliant, preventing credential registration or operation.

Parameters

message

The error message.

policy

The policy that caused the violation, if available.

cause

The underlying cause of the exception.

Constructors

Link copied to clipboard
constructor(message: String? = null, policy: MfaPolicy? = null, cause: Throwable? = null)

Properties

Link copied to clipboard
val policy: MfaPolicy? = null