public class JWTAuthHandler 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<JWTAuthHandler> | 
__TYPE_ARG  | 
| Constructor and Description | 
|---|
JWTAuthHandler(JWTAuthHandler delegate)  | 
JWTAuthHandler(Object delegate)  | 
| Modifier and Type | Method and Description | 
|---|---|
static JWTAuthHandler | 
create(JWTAuth authProvider)
Create a JWT auth handler 
 | 
static JWTAuthHandler | 
create(JWTAuth authProvider,
      String realm)
Create a JWT auth handler 
 | 
boolean | 
equals(Object o)  | 
JWTAuthHandler | 
getDelegate()  | 
void | 
handle(RoutingContext event)
Something has happened, so handle it. 
 | 
int | 
hashCode()  | 
static JWTAuthHandler | 
newInstance(JWTAuthHandler arg)  | 
JWTAuthHandler | 
scopeDelimiter(String delimiter)
Return a new instance with the internal state copied from the caller but the scopes delimiter set
 to be unique to the instance. 
 | 
String | 
toString()  | 
JWTAuthHandler | 
withScope(String scope)
Return a new instance with the internal state copied from the caller but the scopes to be requested during a token
 request are unique to the instance. 
 | 
JWTAuthHandler | 
withScopes(List<String> scopes)
Return a new instance with the internal state copied from the caller but the scopes to be requested during a token
 request are unique to the instance. 
 | 
clone, finalize, getClass, notify, notifyAll, wait, wait, waitnewInstancepublic static final io.vertx.lang.rx.TypeArg<JWTAuthHandler> __TYPE_ARG
public JWTAuthHandler(JWTAuthHandler delegate)
public JWTAuthHandler(Object delegate)
public JWTAuthHandler getDelegate()
getDelegate in interface AuthenticationHandlerpublic void handle(RoutingContext event)
handle in interface Handler<RoutingContext>handle in interface AuthenticationHandlerevent - the event to handlepublic static JWTAuthHandler create(JWTAuth authProvider)
authProvider - the auth provider to usepublic static JWTAuthHandler create(JWTAuth authProvider, String realm)
authProvider - the auth provider to userealm - public JWTAuthHandler scopeDelimiter(String delimiter)
delimiter - scope delimiter.public JWTAuthHandler withScope(String scope)
scope - scope.public JWTAuthHandler withScopes(List<String> scopes)
scopes - scopes.public static JWTAuthHandler newInstance(JWTAuthHandler arg)
Copyright © 2024 Eclipse. All rights reserved.