Package-level declarations

Types

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

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

Link copied to clipboard
class CredentialNotFoundException(val credentialId: String, cause: Throwable? = null) : MfaException

Exception thrown when attempting to operate on a credential that does not exist.

Link copied to clipboard
class DuplicateCredentialException(val issuer: String, val accountName: String, cause: Throwable? = null) : MfaException

Exception thrown when attempting to register a credential that already exists.

Link copied to clipboard
class MfaClientNotInitializedException(message: String? = "MFA client not initialized", cause: Throwable? = null) : MfaException

Exception thrown when an MFA operation is performed on an uninitialized client.

Link copied to clipboard
open class MfaException(message: String? = null, cause: Throwable? = null) : Exception

Base exception class for all MFA-related exceptions.

Link copied to clipboard
class MfaInitializationException(message: String? = null, cause: Throwable? = null) : MfaException

Exception thrown when an MFA client initialization fails.

Link copied to clipboard
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.

Link copied to clipboard
class MfaStorageException(message: String? = null, cause: Throwable? = null) : MfaException

Exception thrown when an MFA storage operation fails.