Class AuthorizationContext
- java.lang.Object
-
- io.vertx.reactivex.ext.auth.authorization.AuthorizationContext
-
-
Field Summary
Fields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<AuthorizationContext>
__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description AuthorizationContext(AuthorizationContext delegate)
AuthorizationContext(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuthorizationContext
create(User user)
Factory for Authorization Contextstatic AuthorizationContext
create(User user, MultiMap variables)
Factory for Authorization Contextboolean
equals(Object o)
AuthorizationContext
getDelegate()
int
hashCode()
static AuthorizationContext
newInstance(AuthorizationContext arg)
String
toString()
User
user()
Get the authenticated userMultiMap
variables()
-
-
-
Field Detail
-
__TYPE_ARG
public static final io.vertx.lang.rx.TypeArg<AuthorizationContext> __TYPE_ARG
-
-
Constructor Detail
-
AuthorizationContext
public AuthorizationContext(AuthorizationContext delegate)
-
AuthorizationContext
public AuthorizationContext(Object delegate)
-
-
Method Detail
-
getDelegate
public AuthorizationContext getDelegate()
-
create
public static AuthorizationContext create(User user)
Factory for Authorization Context- Parameters:
user
- a user- Returns:
- a AuthorizationContext instance
-
create
public static AuthorizationContext create(User user, MultiMap variables)
Factory for Authorization Context- Parameters:
user
- a uservariables
-- Returns:
- a AuthorizationContext instance
-
user
public User user()
Get the authenticated user- Returns:
- the user
-
variables
public MultiMap variables()
- Returns:
- a Multimap containing variable names and values that can be resolved at runtime by
Authorization
Authorizations
-
newInstance
public static AuthorizationContext newInstance(AuthorizationContext arg)
-
-