Uses of Package
com.irurueta.authserver.authorization.api.web.mfa
Packages that use com.irurueta.authserver.authorization.api.web.mfa
Package
Description
OAuth 2.0 Device Authorization Grant (RFC 8628) for input-constrained clients, such as a command line tool: the
protocol customizer that wires the device authorization and verification endpoints, the guard that applies the
multi-factor policy and the limit on the attempts to the verification endpoint, and the verification page.
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.-
Classes in com.irurueta.authserver.authorization.api.web.mfa used by com.irurueta.authserver.authorization.api.web.implicitClassDescriptionDecides whether an authentication has presented enough factors for the request being served: when the client or the user requires multi-factor authentication, the factors must satisfy the
MfaPolicy; otherwise any authentication does.Forces a new sign-in: it discards the stale authentication of the session (the security context of the thread and the one stored by the repository), saves the request being served (typically/oauth2/authorize?...) so it resumes once the user has signed in again, and redirects to the login page.Sends a user who has presented a primary factor but not yet the second one to the second-factor page, after saving the request being served (typically/oauth2/authorize?...) so the sign-in resumes where it left off once the second factor is verified. -
Classes in com.irurueta.authserver.authorization.api.web.mfa used by com.irurueta.authserver.authorization.api.web.mfaClassDescriptionRegistry of the authentication factors this server knows.The account an API request is made on behalf of: the owner of the bearer token.Resolves the account of the request being handled.Adds the authority of a verified factor to an authentication.Reads, from the
FactorGrantedAuthorityinstances of an authentication, the factors that prove something about it and when they were presented.Thrown byStepUpGuardwhen the bearer token of an API call does not show a recent enough multi-factor sign-in for the operation.Decides whether an authentication has presented enough factors for the request being served: when the client or the user requires multi-factor authentication, the factors must satisfy theMfaPolicy; otherwise any authentication does.Forces a new sign-in: it discards the stale authentication of the session (the security context of the thread and the one stored by the repository), saves the request being served (typically/oauth2/authorize?...) so it resumes once the user has signed in again, and redirects to the login page.Extension point that lets a second factor contribute a Thymeleaf fragment to the second-factor page.Sends a user who has presented a primary factor but not yet the second one to the second-factor page, after saving the request being served (typically/oauth2/authorize?...) so the sign-in resumes where it left off once the second factor is verified.Raised while an authorization request is validated when the user must present a second factor first.Resolves the identifier of the account of a signed-in user.Guards the API operations that remove or reset a second factor (disabling the authenticator app, generating new recovery codes, revoking a trusted device): a stolen token, or a session left open, must not be enough to weaken the account.Maps the trusted devices of the domain onto the DTO generated from the contract, so a domain model is never returned fromTrustedDeviceController.Thrown when an account has no trusted device with the requested identifier. -
Classes in com.irurueta.authserver.authorization.api.web.mfa used by com.irurueta.authserver.authorization.api.web.ottClassDescriptionRegistry of the authentication factors this server knows.Resolves the account of the request being handled.Adds the authority of a verified factor to an authentication.Reads, from the
FactorGrantedAuthorityinstances of an authentication, the factors that prove something about it and when they were presented.Thrown byStepUpGuardwhen the bearer token of an API call does not show a recent enough multi-factor sign-in for the operation.Decides whether an authentication has presented enough factors for the request being served: when the client or the user requires multi-factor authentication, the factors must satisfy theMfaPolicy; otherwise any authentication does.Translates the failures of the authenticator app, recovery code and trusted device endpoints to RFC 9457 problem details, answered asapplication/problem+json.Extension point that lets a second factor contribute a Thymeleaf fragment to the second-factor page.Resolves the identifier of the account of a signed-in user.Guards the API operations that remove or reset a second factor (disabling the authenticator app, generating new recovery codes, revoking a trusted device): a stolen token, or a session left open, must not be enough to weaken the account. -
Classes in com.irurueta.authserver.authorization.api.web.mfa used by com.irurueta.authserver.authorization.api.web.passkeysClassDescriptionResolves the account of the request being handled.Thrown by
StepUpGuardwhen the bearer token of an API call does not show a recent enough multi-factor sign-in for the operation.Decides whether an authentication has presented enough factors for the request being served: when the client or the user requires multi-factor authentication, the factors must satisfy theMfaPolicy; otherwise any authentication does.Translates the failures of the authenticator app, recovery code and trusted device endpoints to RFC 9457 problem details, answered asapplication/problem+json.Extension point that lets a second factor contribute a Thymeleaf fragment to the second-factor page.Resolves the identifier of the account of a signed-in user.Guards the API operations that remove or reset a second factor (disabling the authenticator app, generating new recovery codes, revoking a trusted device): a stolen token, or a session left open, must not be enough to weaken the account. -
Classes in com.irurueta.authserver.authorization.api.web.mfa used by com.irurueta.authserver.authorization.api.web.socialClassDescriptionResolves the account of the request being handled.Adds the authority of a verified factor to an authentication.Thrown by
StepUpGuardwhen the bearer token of an API call does not show a recent enough multi-factor sign-in for the operation.Decides whether an authentication has presented enough factors for the request being served: when the client or the user requires multi-factor authentication, the factors must satisfy theMfaPolicy; otherwise any authentication does.Translates the failures of the authenticator app, recovery code and trusted device endpoints to RFC 9457 problem details, answered asapplication/problem+json.Guards the API operations that remove or reset a second factor (disabling the authenticator app, generating new recovery codes, revoking a trusted device): a stolen token, or a session left open, must not be enough to weaken the account. -
Classes in com.irurueta.authserver.authorization.api.web.mfa used by com.irurueta.authserver.authorization.api.web.totpClassDescriptionResolves the account of the request being handled.Adds the authority of a verified factor to an authentication.Extension point that lets a second factor contribute a Thymeleaf fragment to the second-factor page.Resolves the identifier of the account of a signed-in user.Guards the API operations that remove or reset a second factor (disabling the authenticator app, generating new recovery codes, revoking a trusted device): a stolen token, or a session left open, must not be enough to weaken the account.Writes the cookie that identifies a trusted device.Lets a browser that was trusted earlier skip the second factor of a sign-in.
-
Classes in com.irurueta.authserver.authorization.api.web.mfa used by com.irurueta.authserver.authorization.api.web.x509ClassDescriptionResolves the account of the request being handled.Adds the authority of a verified factor to an authentication.Translates the failures of the authenticator app, recovery code and trusted device endpoints to RFC 9457 problem details, answered as
application/problem+json.Guards the API operations that remove or reset a second factor (disabling the authenticator app, generating new recovery codes, revoking a trusted device): a stolen token, or a session left open, must not be enough to weaken the account.