public interface WebAuthnHandler extends AuthenticationHandler
Modifier and Type | Method and Description |
---|---|
static WebAuthnHandler |
create(WebAuthn webAuthn)
Create a WebAuthN auth handler.
|
WebAuthnHandler |
setOrigin(String origin)
Set the Origin to be validated by the webauthn object.
|
WebAuthnHandler |
setupCallback(Route route)
The callback route to verify attestations and assertions.
|
WebAuthnHandler |
setupCredentialsCreateCallback(Route route)
The callback route to create registration attestations.
|
WebAuthnHandler |
setupCredentialsGetCallback(Route route)
The callback route to create login attestations.
|
static WebAuthnHandler create(WebAuthn webAuthn)
WebAuthnHandler setupCredentialsCreateCallback(Route route)
/webauthn/register
route
- the route where credential get options are generated.WebAuthnHandler setupCredentialsGetCallback(Route route)
/webauthn/login
route
- the route where credential get options are generated.WebAuthnHandler setupCallback(Route route)
/webauthn/response
route
- the route where assertions and attestations are verified.WebAuthnHandler setOrigin(String origin)
origin
- - an HTTP OriginCopyright © 2024 Eclipse. All rights reserved.