Uses of Package
com.irurueta.authserver.authorization.application.mfa
Packages that use com.irurueta.authserver.authorization.application.mfa
Package
Description
Multi-factor authentication orchestration.
One-time token authentication: e-mail and SMS codes and magic links as a primary sign-in method and as a second
factor, the per-channel factors, the rate limits, the providers and filters, and the phone management API and
account page.
Passkeys (WebAuthn): the factor, the chain wiring, the login and second-factor fragments, the account API and
the account page.
Time-based one-time password (TOTP) second factor.
Use cases of the multi-factor framework: security events, second-factor lockout and trusted devices.
Use cases of the one-time-code (e-mail and SMS) authentication factor: requesting, verifying and cleaning up codes,
and the policy beans they share.
Use cases that manage the passkeys (WebAuthn credentials) of a user: list, rename and delete, whether the user has
one (a second factor enrolment query), and the relying party settings.
Use cases of the SMS channel: phone enrolment and verification, cost-capped sending of codes and the enrolment
query of the SMS second factor.
Use cases of social login (identity brokering): resolving a sign-in with an external provider to an account (finding
it, linking by verified e-mail address, or provisioning it), linking, unlinking and listing the identities of an
account.
Use cases of the TOTP authenticator-app second factor and its recovery codes.
Use cases of X.509 client certificate sign-in: resolving a certificate fingerprint to an account, binding a
certificate to an account and unbinding it.
-
Classes in com.irurueta.authserver.authorization.application.mfa used by com.irurueta.authserver.authorization.api.web.mfaClassDescriptionA trusted device just created, with the signed cookie value that is only available now.Use case that finds the usable (not revoked, not expired) trusted device of a user from the value of the cookie.Use case that tells whether a user has confirmed any second factor, asking every
SecondFactorEnrolmentQuerybean.Use case that tells whether a client makes multi-factor authentication mandatory for every user signing in through it (ClientRegistration.mfaRequired()).Use case that tells whether the account of a user requires a second factor, whatever the client being served: when an administrator forced it (users.mfa_required) or when the user has confirmed a second factor (asked toHasConfirmedSecondFactorUseCase), since a factor the user enrolled must protect every sign-in.Use case that lists the trusted devices of a user that have not expired.Multi-factor settings, bound once fromauthserver.mfa.*and injected wherever one of them is needed (the use cases of this module and the step-up guard of the API).Use case that records a security event (login, second factor, lockout, trusted device) in the audit log.Use case that revokes a trusted device of a user, so it asks for the second factor again. -
Classes in com.irurueta.authserver.authorization.application.mfa used by com.irurueta.authserver.authorization.api.web.ottClassDescriptionUse case that tells whether a user has confirmed any second factor, asking every
SecondFactorEnrolmentQuerybean.Multi-factor settings, bound once fromauthserver.mfa.*and injected wherever one of them is needed (the use cases of this module and the step-up guard of the API). -
Classes in com.irurueta.authserver.authorization.application.mfa used by com.irurueta.authserver.authorization.api.web.passkeysClassDescriptionUse case that tells whether the second factor of a user is locked after too many failed attempts.
-
Classes in com.irurueta.authserver.authorization.application.mfa used by com.irurueta.authserver.authorization.api.web.totpClassDescriptionUse case that trusts the browser of a user for some days so it skips the second factor.Use case that finds the usable (not revoked, not expired) trusted device of a user from the value of the cookie.Use case that tells whether a user has confirmed any second factor, asking every
SecondFactorEnrolmentQuerybean. -
Classes in com.irurueta.authserver.authorization.application.mfa used by com.irurueta.authserver.authorization.application.mfaClassDescriptionA trusted device just created, with the signed cookie value that is only available now.Use case that tells whether a user has confirmed any second factor, asking every
SecondFactorEnrolmentQuerybean.Multi-factor settings, bound once fromauthserver.mfa.*and injected wherever one of them is needed (the use cases of this module and the step-up guard of the API).Use case that records a security event (login, second factor, lockout, trusted device) in the audit log.Extension point that tells whether a user has confirmed one kind of second factor.Creates the random tokens that identify a trusted device and hashes them, so only the SHA-256 hash is ever stored. -
Classes in com.irurueta.authserver.authorization.application.mfa used by com.irurueta.authserver.authorization.application.ottClassDescriptionUse case that tells whether the second factor of a user is locked after too many failed attempts.Use case that records a security event (login, second factor, lockout, trusted device) in the audit log.Use case that counts a failed second-factor attempt and locks the second factor of the user once
authserver.mfa.max-failed-attemptsconsecutive failures are reached.Use case that clears the failed second-factor attempts of a user, after a successful verification. -
Classes in com.irurueta.authserver.authorization.application.mfa used by com.irurueta.authserver.authorization.application.passkeysClassDescriptionUse case that tells whether a user has confirmed any second factor, asking every
SecondFactorEnrolmentQuerybean.Use case that records a security event (login, second factor, lockout, trusted device) in the audit log.Extension point that tells whether a user has confirmed one kind of second factor. -
Classes in com.irurueta.authserver.authorization.application.mfa used by com.irurueta.authserver.authorization.application.smsClassDescriptionUse case that tells whether a user has confirmed any second factor, asking every
SecondFactorEnrolmentQuerybean.Use case that records a security event (login, second factor, lockout, trusted device) in the audit log.Extension point that tells whether a user has confirmed one kind of second factor. -
Classes in com.irurueta.authserver.authorization.application.mfa used by com.irurueta.authserver.authorization.application.socialClassDescriptionUse case that records a security event (login, second factor, lockout, trusted device) in the audit log.
-
Classes in com.irurueta.authserver.authorization.application.mfa used by com.irurueta.authserver.authorization.application.totpClassDescriptionUse case that tells whether the second factor of a user is locked after too many failed attempts.Use case that tells whether a user has confirmed any second factor, asking every
SecondFactorEnrolmentQuerybean.Multi-factor settings, bound once fromauthserver.mfa.*and injected wherever one of them is needed (the use cases of this module and the step-up guard of the API).Use case that records a security event (login, second factor, lockout, trusted device) in the audit log.Use case that counts a failed second-factor attempt and locks the second factor of the user onceauthserver.mfa.max-failed-attemptsconsecutive failures are reached.Use case that clears the failed second-factor attempts of a user, after a successful verification.Extension point that tells whether a user has confirmed one kind of second factor. -
Classes in com.irurueta.authserver.authorization.application.mfa used by com.irurueta.authserver.authorization.application.x509ClassDescriptionUse case that records a security event (login, second factor, lockout, trusted device) in the audit log.