CredentialLockedException

class CredentialLockedException(val policyName: String, val reason: String? = null, cause: Throwable? = null) : MfaException

Exception thrown when attempting to perform operations on a locked credential.

This exception is thrown when a credential is locked due to policy violations and the user attempts to perform operations that require an unlocked credential.

Parameters

policyName

The name of the policy that caused the credential to be locked.

reason

Optional human-readable reason for the lock.

cause

The underlying cause of the exception.

Constructors

Link copied to clipboard
constructor(policyName: String, reason: String? = null, cause: Throwable? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val reason: String? = null