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 TypeMethodDescriptionvoidaccept(RoutingContext item) static JWTAuthHandlerstatic JWTAuthHandlerbooleanio.vertx.ext.web.handler.JWTAuthHandlervoidhandle(RoutingContext arg0) inthashCode()static JWTAuthHandlernewInstance(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:
getDelegatein interfaceAuthenticationHandler- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
handle
- Specified by:
handlein interfaceAuthenticationHandler- Specified by:
handlein 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:
acceptin interfaceAuthenticationHandler- Specified by:
acceptin interfaceConsumer<RoutingContext>
-
newInstance
-