public class WebAuthnHandlerImpl extends Object implements WebAuthnHandler
| Constructor and Description |
|---|
WebAuthnHandlerImpl(WebAuthn webAuthN) |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(RoutingContext ctx)
Something has happened, so handle it.
|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreatepublic WebAuthnHandlerImpl(WebAuthn webAuthN)
public void handle(RoutingContext ctx)
Handlerhandle in interface Handler<RoutingContext>ctx - the event to handlepublic WebAuthnHandler setupCredentialsCreateCallback(Route route)
WebAuthnHandler/webauthn/register
setupCredentialsCreateCallback in interface WebAuthnHandlerroute - the route where credential get options are generated.public WebAuthnHandler setupCredentialsGetCallback(Route route)
WebAuthnHandler/webauthn/login
setupCredentialsGetCallback in interface WebAuthnHandlerroute - the route where credential get options are generated.public WebAuthnHandler setupCallback(Route route)
WebAuthnHandler/webauthn/response
setupCallback in interface WebAuthnHandlerroute - the route where assertions and attestations are verified.public WebAuthnHandler setOrigin(String origin)
WebAuthnHandlersetOrigin in interface WebAuthnHandlerorigin - - an HTTP OriginCopyright © 2021. All rights reserved.