Package io.vertx.mutiny.ext.web.handler
Class WebAuthnHandler
- java.lang.Object
-
- io.vertx.mutiny.ext.web.handler.WebAuthnHandler
-
- All Implemented Interfaces:
io.vertx.core.Handler<RoutingContext>
,AuthenticationHandler
,Consumer<RoutingContext>
public class WebAuthnHandler extends Object implements AuthenticationHandler, io.vertx.core.Handler<RoutingContext>, Consumer<RoutingContext>
An auth handler that provides FIDO2 WebAuthN Relay Party support. NOTE: This class has been automatically generated from theoriginal
non Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<WebAuthnHandler>
__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description WebAuthnHandler(io.vertx.ext.web.handler.WebAuthnHandler delegate)
WebAuthnHandler(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(RoutingContext item)
static WebAuthnHandler
create(WebAuthn webAuthn)
boolean
equals(Object o)
io.vertx.ext.web.handler.WebAuthnHandler
getDelegate()
void
handle(RoutingContext arg0)
int
hashCode()
static WebAuthnHandler
newInstance(io.vertx.ext.web.handler.WebAuthnHandler arg)
WebAuthnHandler
setOrigin(String origin)
WebAuthnHandler
setupCallback(Route route)
WebAuthnHandler
setupCredentialsCreateCallback(Route route)
WebAuthnHandler
setupCredentialsGetCallback(Route route)
String
toString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<WebAuthnHandler> __TYPE_ARG
-
-
Constructor Detail
-
WebAuthnHandler
public WebAuthnHandler(io.vertx.ext.web.handler.WebAuthnHandler delegate)
-
WebAuthnHandler
public WebAuthnHandler(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.web.handler.WebAuthnHandler getDelegate()
- Specified by:
getDelegate
in interfaceAuthenticationHandler
-
handle
public void handle(RoutingContext arg0)
- Specified by:
handle
in interfaceAuthenticationHandler
- Specified by:
handle
in interfaceio.vertx.core.Handler<RoutingContext>
-
create
public static WebAuthnHandler create(WebAuthn webAuthn)
- Parameters:
webAuthn
-- Returns:
- the auth handler
-
setupCredentialsCreateCallback
public WebAuthnHandler setupCredentialsCreateCallback(Route route)
- Parameters:
route
- the route where credential get options are generated.- Returns:
- fluent self.
-
setupCredentialsGetCallback
public WebAuthnHandler setupCredentialsGetCallback(Route route)
- Parameters:
route
- the route where credential get options are generated.- Returns:
- fluent self.
-
setupCallback
public WebAuthnHandler setupCallback(Route route)
- Parameters:
route
- the route where assertions and attestations are verified.- Returns:
- fluent self.
-
setOrigin
public WebAuthnHandler setOrigin(String origin)
- Parameters:
origin
- - an HTTP Origin- Returns:
- fluent self
-
accept
public void accept(RoutingContext item)
- Specified by:
accept
in interfaceAuthenticationHandler
- Specified by:
accept
in interfaceConsumer<RoutingContext>
-
newInstance
public static WebAuthnHandler newInstance(io.vertx.ext.web.handler.WebAuthnHandler arg)
-
-