Class RoleBasedAuthorization
java.lang.Object
io.vertx.mutiny.ext.auth.authorization.Authorization
io.vertx.mutiny.ext.auth.authorization.RoleBasedAuthorization
- All Implemented Interfaces:
MutinyDelegate
Represents a role. Note that this role can optionally be assigned to a
specific resource
NOTE: This class has been automatically generated from the
original
non Mutiny-ified interface using Vert.x codegen.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRoleBasedAuthorization
(io.vertx.ext.auth.authorization.RoleBasedAuthorization delegate) RoleBasedAuthorization
(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionstatic RoleBasedAuthorization
boolean
io.vertx.ext.auth.authorization.RoleBasedAuthorization
getRole()
int
hashCode()
static RoleBasedAuthorization
newInstance
(io.vertx.ext.auth.authorization.RoleBasedAuthorization arg) setResource
(String resource) toString()
Methods inherited from class io.vertx.mutiny.ext.auth.authorization.Authorization
match, match, newInstance, verify
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
RoleBasedAuthorization
public RoleBasedAuthorization(io.vertx.ext.auth.authorization.RoleBasedAuthorization delegate) -
RoleBasedAuthorization
-
-
Method Details
-
getDelegate
public io.vertx.ext.auth.authorization.RoleBasedAuthorization getDelegate()- Specified by:
getDelegate
in interfaceMutinyDelegate
- Overrides:
getDelegate
in classAuthorization
- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
- Overrides:
toString
in classAuthorization
-
equals
- Overrides:
equals
in classAuthorization
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAuthorization
-
create
-
getRole
- Returns:
-
getResource
- Returns:
-
setResource
- Parameters:
resource
-- Returns:
-
newInstance
public static RoleBasedAuthorization newInstance(io.vertx.ext.auth.authorization.RoleBasedAuthorization arg)
-