Class AuthorizationContext
java.lang.Object
io.vertx.mutiny.ext.auth.authorization.AuthorizationContext
- All Implemented Interfaces:
MutinyDelegate
The AuthorizationContext contains properties that can be used to match
authorizations.
NOTE: This class has been automatically generated from the original non Mutiny-ified interface.
- Author:
- Stephane Bastian
- See Also:
-
AuthorizationContext
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAuthorizationContext(io.vertx.ext.auth.authorization.AuthorizationContext delegate) Create a new instance ofAuthorizationContextdelegating to the given (non-null) instance ofAuthorizationContext.AuthorizationContext(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionstatic AuthorizationContextFactory for Authorization Contextstatic AuthorizationContextFactory for Authorization Contextbooleanio.vertx.ext.auth.authorization.AuthorizationContextGet the delegate instance.inthashCode()static AuthorizationContextnewInstance(io.vertx.ext.auth.authorization.AuthorizationContext delegate) Creates a new instance of theAuthorizationContext.toString()user()Get the authenticated userio.vertx.core.MultiMap
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
AuthorizationContext
public AuthorizationContext(io.vertx.ext.auth.authorization.AuthorizationContext delegate) Create a new instance ofAuthorizationContextdelegating to the given (non-null) instance ofAuthorizationContext. -
AuthorizationContext
-
-
Method Details
-
getDelegate
public io.vertx.ext.auth.authorization.AuthorizationContext getDelegate()Get the delegate instance.This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.
- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate instance
-
create
Factory for Authorization Context- Parameters:
user- a user- Returns:
- a AuthorizationContext instance
-
create
Factory for Authorization Context- Parameters:
user- a user- Returns:
- a AuthorizationContext instance
-
user
Get the authenticated user- Returns:
- the user
-
variables
public io.vertx.core.MultiMap variables()- Returns:
- a Multimap containing variable names and values that can be resolved
at runtime by
AuthorizationAuthorizations
-
newInstance
public static AuthorizationContext newInstance(io.vertx.ext.auth.authorization.AuthorizationContext delegate) Creates a new instance of theAuthorizationContext. -
hashCode
public int hashCode() -
equals
-
toString
-