Package io.vertx.mutiny.ext.web.handler
Class JWTAuthHandler
java.lang.Object
io.vertx.mutiny.ext.web.handler.JWTAuthHandler
- All Implemented Interfaces:
MutinyDelegate
,io.vertx.core.Handler<RoutingContext>
,AuthenticationHandler
,Consumer<RoutingContext>
public class JWTAuthHandler
extends Object
implements MutinyDelegate, AuthenticationHandler, io.vertx.core.Handler<RoutingContext>, Consumer<RoutingContext>
An auth handler that provides JWT Authentication support.
NOTE: This class has been automatically generated from the
original
non Mutiny-ified interface using Vert.x codegen.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJWTAuthHandler
(io.vertx.ext.web.handler.JWTAuthHandler delegate) JWTAuthHandler
(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(RoutingContext item) static JWTAuthHandler
static JWTAuthHandler
boolean
io.vertx.ext.web.handler.JWTAuthHandler
void
handle
(RoutingContext arg0) int
hashCode()
static JWTAuthHandler
newInstance
(io.vertx.ext.web.handler.JWTAuthHandler arg) scopeDelimiter
(String delimiter) toString()
withScopes
(List<String> scopes)
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
JWTAuthHandler
public JWTAuthHandler(io.vertx.ext.web.handler.JWTAuthHandler delegate) -
JWTAuthHandler
-
-
Method Details
-
getDelegate
public io.vertx.ext.web.handler.JWTAuthHandler getDelegate()- Specified by:
getDelegate
in interfaceAuthenticationHandler
- Specified by:
getDelegate
in interfaceMutinyDelegate
- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
handle
- Specified by:
handle
in interfaceAuthenticationHandler
- Specified by:
handle
in interfaceio.vertx.core.Handler<RoutingContext>
-
create
- Parameters:
authProvider
- the auth provider to use- Returns:
- the auth handler
-
create
- Parameters:
authProvider
- the auth provider to userealm
-- Returns:
- the auth handler
-
scopeDelimiter
- Parameters:
delimiter
- scope delimiter.- Returns:
- new instance of this interface.
-
withScope
- Parameters:
scope
- scope.- Returns:
- new instance of this interface.
-
withScopes
- Parameters:
scopes
- scopes.- Returns:
- new instance of this interface.
-
accept
- Specified by:
accept
in interfaceAuthenticationHandler
- Specified by:
accept
in interfaceConsumer<RoutingContext>
-
newInstance
-