Class PermissionBasedAuthorization
- java.lang.Object
-
- io.vertx.mutiny.ext.auth.authorization.Authorization
-
- io.vertx.mutiny.ext.auth.authorization.PermissionBasedAuthorization
-
public class PermissionBasedAuthorization extends Authorization
Represents a permission Note that the permission can optionally be assigned to a specific resource NOTE: This class has been automatically generated from theoriginal
non Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<PermissionBasedAuthorization>
__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description PermissionBasedAuthorization(io.vertx.ext.auth.authorization.PermissionBasedAuthorization delegate)
PermissionBasedAuthorization(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PermissionBasedAuthorization
create(String permission)
boolean
equals(Object o)
io.vertx.ext.auth.authorization.PermissionBasedAuthorization
getDelegate()
String
getPermission()
String
getResource()
int
hashCode()
static PermissionBasedAuthorization
newInstance(io.vertx.ext.auth.authorization.PermissionBasedAuthorization arg)
PermissionBasedAuthorization
setResource(String resource)
String
toString()
-
Methods inherited from class io.vertx.mutiny.ext.auth.authorization.Authorization
match, match, newInstance, verify
-
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<PermissionBasedAuthorization> __TYPE_ARG
-
-
Constructor Detail
-
PermissionBasedAuthorization
public PermissionBasedAuthorization(io.vertx.ext.auth.authorization.PermissionBasedAuthorization delegate)
-
PermissionBasedAuthorization
public PermissionBasedAuthorization(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.auth.authorization.PermissionBasedAuthorization getDelegate()
- Overrides:
getDelegate
in classAuthorization
-
toString
public String toString()
- Overrides:
toString
in classAuthorization
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classAuthorization
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAuthorization
-
create
public static PermissionBasedAuthorization create(String permission)
-
getPermission
public String getPermission()
- Returns:
-
getResource
public String getResource()
- Returns:
-
setResource
public PermissionBasedAuthorization setResource(String resource)
- Parameters:
resource
-- Returns:
-
newInstance
public static PermissionBasedAuthorization newInstance(io.vertx.ext.auth.authorization.PermissionBasedAuthorization arg)
-
-