public class WebAuthnHandler extends Object implements AuthenticationHandler, Handler<RoutingContext>
original non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<WebAuthnHandler> |
__TYPE_ARG |
| Constructor and Description |
|---|
WebAuthnHandler(Object delegate) |
WebAuthnHandler(WebAuthnHandler delegate) |
| Modifier and Type | Method and Description |
|---|---|
static WebAuthnHandler |
create(WebAuthn webAuthn)
Create a WebAuthN auth handler.
|
boolean |
equals(Object o) |
WebAuthnHandler |
getDelegate() |
void |
handle(RoutingContext event)
Something has happened, so handle it.
|
int |
hashCode() |
static WebAuthnHandler |
newInstance(WebAuthnHandler arg) |
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.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitnewInstancepublic static final io.vertx.lang.rx.TypeArg<WebAuthnHandler> __TYPE_ARG
public WebAuthnHandler(WebAuthnHandler delegate)
public WebAuthnHandler(Object delegate)
public WebAuthnHandler getDelegate()
getDelegate in interface AuthenticationHandlerpublic void handle(RoutingContext event)
handle in interface Handler<RoutingContext>handle in interface AuthenticationHandlerevent - the event to handlepublic static WebAuthnHandler create(WebAuthn webAuthn)
webAuthn - public WebAuthnHandler setupCredentialsCreateCallback(Route route)
/webauthn/register
route - the route where credential get options are generated.public WebAuthnHandler setupCredentialsGetCallback(Route route)
/webauthn/login
route - the route where credential get options are generated.public WebAuthnHandler setupCallback(Route route)
/webauthn/response
route - the route where assertions and attestations are verified.public WebAuthnHandler setOrigin(String origin)
origin - - an HTTP Originpublic static WebAuthnHandler newInstance(WebAuthnHandler arg)
Copyright © 2023 Eclipse. All rights reserved.