Uses of Record Class
com.irurueta.authserver.authorization.domain.mfa.AuthenticationFactor
Packages that use AuthenticationFactor
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.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.
-
Uses of AuthenticationFactor in com.irurueta.authserver.authorization.api.web.mfa
Fields in com.irurueta.authserver.authorization.api.web.mfa with type parameters of type AuthenticationFactorModifier and TypeFieldDescriptionprivate final Map<String, AuthenticationFactor> AuthenticationFactorRegistry.byAuthorityRegistered factors by the authority that proves them, in registration order.Methods in com.irurueta.authserver.authorization.api.web.mfa that return AuthenticationFactorModifier and TypeMethodDescriptionPasswordFactor.passwordAuthenticationFactor()Declares the password factor, granted by Spring Security asFactorGrantedAuthority.PASSWORD_AUTHORITY.TrustedDeviceFactor.trustedDeviceAuthenticationFactor()Declares the trusted-device factor.Methods in com.irurueta.authserver.authorization.api.web.mfa that return types with arguments of type AuthenticationFactorModifier and TypeMethodDescriptionAuthenticationFactorRegistry.all()Lists every registered factor.AuthenticationFactorRegistry.factorsOf(org.springframework.security.core.Authentication authentication) Tells which registered factors an authentication has presented.AuthenticationFactorRegistry.findByAuthority(String authority) Finds the factor proved by an authority.AuthenticationFactorRegistry.withStrength(FactorStrength strength) Lists the registered factors that have a strength.Method parameters in com.irurueta.authserver.authorization.api.web.mfa with type arguments of type AuthenticationFactorModifier and TypeMethodDescriptionMfaConfiguration.authenticationFactorRegistry(List<AuthenticationFactor> factors) Builds the registry of the known factors.private List<org.springframework.security.core.authority.FactorGrantedAuthority> FactorTimeline.factorsMatching(org.springframework.security.core.Authentication authentication, Predicate<AuthenticationFactor> test) Lists the factor authorities of an authentication whose registered factor passes a test, oldest first.Constructor parameters in com.irurueta.authserver.authorization.api.web.mfa with type arguments of type AuthenticationFactorModifierConstructorDescriptionCreates the registry. -
Uses of AuthenticationFactor in com.irurueta.authserver.authorization.api.web.ott
Methods in com.irurueta.authserver.authorization.api.web.ott that return AuthenticationFactorModifier and TypeMethodDescriptionOttFactors.ottEmailAuthenticationFactor()Declares the e-mail code and magic link as a sign-in.OttFactors.ottEmailSecondAuthenticationFactor()Declares the e-mail code and magic link as a second factor.OttFactors.ottSmsAuthenticationFactor()Declares the SMS code as a sign-in.OttFactors.ottSmsSecondAuthenticationFactor()Declares the SMS code as a second factor. -
Uses of AuthenticationFactor in com.irurueta.authserver.authorization.api.web.passkeys
Methods in com.irurueta.authserver.authorization.api.web.passkeys that return AuthenticationFactorModifier and TypeMethodDescriptionPasskeyFactor.passkeyAuthenticationFactor()Declares the passkey factor. -
Uses of AuthenticationFactor in com.irurueta.authserver.authorization.api.web.social
Methods in com.irurueta.authserver.authorization.api.web.social that return AuthenticationFactorModifier and TypeMethodDescriptionFederatedFactor.federatedAuthenticationFactor()Declares the federated factor.FederatedFactor.federatedStrongAuthenticationFactor()Declares the federated factor of a trusted provider that proved several factors. -
Uses of AuthenticationFactor in com.irurueta.authserver.authorization.api.web.totp
Methods in com.irurueta.authserver.authorization.api.web.totp that return AuthenticationFactorModifier and TypeMethodDescriptionTotpFactor.totpAuthenticationFactor()Declares the TOTP factor. -
Uses of AuthenticationFactor in com.irurueta.authserver.authorization.api.web.x509
Methods in com.irurueta.authserver.authorization.api.web.x509 that return AuthenticationFactorModifier and TypeMethodDescriptionX509Factor.x509AuthenticationFactor(X509Properties properties) Declares the certificate factor. -
Uses of AuthenticationFactor in com.irurueta.authserver.authorization.domain.mfa
Methods in com.irurueta.authserver.authorization.domain.mfa with parameters of type AuthenticationFactorModifier and TypeMethodDescriptionbooleanMfaPolicy.isPrimary(AuthenticationFactor factor) Tells whether a factor is the primary one of an authentication, the oneauth_timeandmax_ageare measured from.booleanMfaPolicy.isReported(AuthenticationFactor factor) Tells whether a factor proves something about the authentication it was presented in, and is therefore reported (amr,acr,auth_time) and counted by a step-up request.Method parameters in com.irurueta.authserver.authorization.domain.mfa with type arguments of type AuthenticationFactorModifier and TypeMethodDescriptionprivate static booleanMfaPolicy.hasStrength(Set<AuthenticationFactor> factors, FactorStrength strength) Tells whether any factor has a strength.booleanMfaPolicy.isMultiFactor(Set<AuthenticationFactor> factors) Tells whether the factors of an authentication make it multi-factor, the one rule behind theamrmfavalue, the multi-factoracrand every step-up check: at leastMfaPolicy.MIN_MULTI_FACTORSdistinct reported factors, or one reported factor that proves a multi-factor authentication alone (multiFactor()).booleanMfaPolicy.isSatisfied(Set<AuthenticationFactor> factors) Tells whether a set of factors satisfies the sign-in policy: aFactorStrength.PRIMARY_STRONGfactor alone, or aFactorStrength.PRIMARYfactor together with aFactorStrength.SECONDor aFactorStrength.REMEMBEREDone (a trusted device skips the second factor of a sign-in).