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 theoriginalnon 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 voidaccept(RoutingContext item)static WebAuthnHandlercreate(WebAuthn webAuthn)booleanequals(Object o)io.vertx.ext.web.handler.WebAuthnHandlergetDelegate()voidhandle(RoutingContext arg0)inthashCode()static WebAuthnHandlernewInstance(io.vertx.ext.web.handler.WebAuthnHandler arg)WebAuthnHandlersetOrigin(String origin)WebAuthnHandlersetupCallback(Route route)WebAuthnHandlersetupCredentialsCreateCallback(Route route)WebAuthnHandlersetupCredentialsGetCallback(Route route)StringtoString()
-
-
-
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:
getDelegatein interfaceAuthenticationHandler
-
handle
public void handle(RoutingContext arg0)
- Specified by:
handlein interfaceAuthenticationHandler- Specified by:
handlein 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:
acceptin interfaceAuthenticationHandler- Specified by:
acceptin interfaceConsumer<RoutingContext>
-
newInstance
public static WebAuthnHandler newInstance(io.vertx.ext.web.handler.WebAuthnHandler arg)
-
-