Uses of Package
com.irurueta.authserver.authorization.domain.mfa
Packages that use com.irurueta.authserver.authorization.domain.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.
Social login (identity brokering) through external identity providers: Google, Microsoft Entra ID, Apple and GitHub.
Time-based one-time password (TOTP) second factor.
X.509 client certificate authentication: a certificate presented on a dedicated TLS port, or forwarded by a trusted
reverse proxy in a header, signs in the user it is bound to (by the SHA-256 fingerprint of the certificate) at
POST /login/x509, the form of the login page, with the CSRF token.Use cases of the multi-factor framework: security events, second-factor lockout and trusted devices.
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 the TOTP authenticator-app second factor and its recovery codes.
Multi-factor authentication: the authentication factors, the policy that decides when an authentication is strong
enough, trusted devices, the audit trail and the failed-attempt lockout of the second factor.
Signing keys of the authorization server: key encryption and generation, the JWK sources and the signed token
service built on them.
PostgreSQL implementations of the multi-factor ports: security events, second-factor attempts and the per-user
enforcement flag, over the
security_events, second_factor_attempts and users tables.-
Classes in com.irurueta.authserver.authorization.domain.mfa used by com.irurueta.authserver.authorization.api.web.mfaClassDescriptionA way of authenticating, as registered by a feature.How much an authentication factor proves on its own.The rule that decides when the factors of an authentication are enough, and when they are required.A browser that a user chose to trust, which lets it skip the second factor (never the first) until it expires.
-
-
-
-
-
-
Classes in com.irurueta.authserver.authorization.domain.mfa used by com.irurueta.authserver.authorization.application.mfaClassDescriptionThe rule that decides when the factors of an authentication are enough, and when they are required.Port that keeps the failed second-factor attempts of each user, so that a lockout survives restarts and is shared by every instance of the server.The failed-attempt state of the second factor of one user.Port that stores the audit trail of authentication events.Kinds of authentication events that are recorded for audit.A browser that a user chose to trust, which lets it skip the second factor (never the first) until it expires.Port that stores the devices users trust.Port that signs the value of the trusted-device cookie and checks that signature, so a value the server did not issue is rejected before anything is looked up.Port that stores the multi-factor settings of a user account.
-
-
-
-
Classes in com.irurueta.authserver.authorization.domain.mfa used by com.irurueta.authserver.authorization.domain.mfaClassDescriptionA way of authenticating, as registered by a feature.How much an authentication factor proves on its own.The failed-attempt state of the second factor of one user.An authentication event kept for audit.Kinds of authentication events that are recorded for audit.A browser that a user chose to trust, which lets it skip the second factor (never the first) until it expires.
-
Classes in com.irurueta.authserver.authorization.domain.mfa used by com.irurueta.authserver.authorization.infrastructure.keysClassDescriptionPort that signs the value of the trusted-device cookie and checks that signature, so a value the server did not issue is rejected before anything is looked up.
-
Classes in com.irurueta.authserver.authorization.domain.mfa used by com.irurueta.authserver.authorization.infrastructure.persistence.mfaClassDescriptionPort that keeps the failed second-factor attempts of each user, so that a lockout survives restarts and is shared by every instance of the server.The failed-attempt state of the second factor of one user.An authentication event kept for audit.Port that stores the audit trail of authentication events.A browser that a user chose to trust, which lets it skip the second factor (never the first) until it expires.Port that stores the devices users trust.Port that stores the multi-factor settings of a user account.