Class PasskeyFactor
java.lang.Object
com.irurueta.authserver.authorization.api.web.passkeys.PasskeyFactor
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. A user who signed in with a password and then presents a passkey on the
second-factor page ends up with both factors (Spring Security merges the factor authorities of the session into the
result of the WebAuthn filter), and the tokens report
pwd, hwk and mfa.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringRFC 8176amrvalue of a proof of possession of a key held in hardware (or in a platform authenticator).static final StringAuthority Spring Security's WebAuthn provider grants once a passkey assertion has been verified.static final StringIdentifier of the factor. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeclares the passkey factor.
-
Field Details
-
ID
Identifier of the factor.- See Also:
-
AMR_VALUE
RFC 8176amrvalue of a proof of possession of a key held in hardware (or in a platform authenticator). A synchronised passkey is reported the same way; the backup flags are exposed by the account API.- See Also:
-
AUTHORITY
Authority Spring Security's WebAuthn provider grants once a passkey assertion has been verified.- See Also:
-
-
Constructor Details
-
PasskeyFactor
public PasskeyFactor()
-
-
Method Details
-
passkeyAuthenticationFactor
Declares the passkey factor.- Returns:
- the factor.
-