WebAuthn4jPasskeyVerifier
class WebAuthn4jPasskeyVerifier(objectConverter: ObjectConverter = ObjectConverter(), manager: WebAuthnManager = WebAuthnManager.createNonStrictWebAuthnManager(objectConverter)) : PasskeyVerifier(source)
A PasskeyVerifier backed by webauthn4j: decodes CBOR/COSE, checks the challenge, origin, rpId hash, signature and the sign counter (clone detection), and enforces the server-issued UserVerification.
Constructors
Functions
Link copied to clipboard
open override fun verifyAuthentication(options: AuthenticationOptions, response: AuthenticationResponse, stored: RegisteredCredential): Result<AuthenticationVerdict, PasskeyError>
Link copied to clipboard
open override fun verifyRegistration(options: RegistrationOptions, response: RegistrationResponse): Result<RegisteredCredential, PasskeyError>