Package com.irurueta.authserver.authorization.api.web.passkeys
package com.irurueta.authserver.authorization.api.web.passkeys
Passkeys (WebAuthn): the factor, the chain wiring, the login and second-factor fragments, the account API and
the account page.
-
ClassDescriptionA
UserDetailsServicethat refuses a disabled, locked or expired account.Customizes the login/UI chain with the passkeys (WebAuthn).Installs the passkeys (WebAuthn) in the login/UI chain.Manages the passkeys of the authenticated account (the operations of the contract).Maps the passkeys of the domain onto the DTO generated from the contract.Answers the failures of the passkeys API asapplication/problem+json.Registers a passkey (WebAuthn credential) as an authentication factor: a strong primary one, because the authenticator proves possession of the key and, with user verification, the user as well, so it satisfies the multi-factor policy on its own.Contributes the passkey sign-in to the login page: a button and a field the browser fills with the passkeys it knows (conditional mediation).Lets a request to the registration endpoints of the WebAuthn filters (/webauthn/registerand everything below it) through only when the session satisfies the multi-factor policy of its account.The authorization filter that guards the registration endpoints of the WebAuthn filters.Contributes the "use a passkey" action to the second-factor page.Applies the second-factor lockout to a passkey that completes a second-factor step.Renders the account page where the signed-in user registers passkeys.What the passkeys page shows of a passkey.Maps the passkeys of the domain onto the view model of the passkeys page.Hands the session authentication strategy of the chain to the WebAuthn filter.