public class RoleBasedAuthorization extends Authorization
original non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description |
|---|---|
static TypeArg<RoleBasedAuthorization> |
__TYPE_ARG |
| Constructor and Description |
|---|
RoleBasedAuthorization(Object delegate) |
RoleBasedAuthorization(io.vertx.ext.auth.authorization.RoleBasedAuthorization delegate) |
| Modifier and Type | Method and Description |
|---|---|
static RoleBasedAuthorization |
create(String role) |
boolean |
equals(Object o) |
io.vertx.ext.auth.authorization.RoleBasedAuthorization |
getDelegate() |
String |
getResource()
returns an optional resource that the role is assigned-on
|
String |
getRole()
returns the role
|
int |
hashCode() |
static RoleBasedAuthorization |
newInstance(io.vertx.ext.auth.authorization.RoleBasedAuthorization arg) |
RoleBasedAuthorization |
setResource(String resource)
sets an optional resource that the role is assigned-on
|
String |
toString() |
match, match, newInstance, verifypublic static final TypeArg<RoleBasedAuthorization> __TYPE_ARG
public RoleBasedAuthorization(io.vertx.ext.auth.authorization.RoleBasedAuthorization delegate)
public RoleBasedAuthorization(Object delegate)
public String toString()
toString in class Authorizationpublic boolean equals(Object o)
equals in class Authorizationpublic int hashCode()
hashCode in class Authorizationpublic io.vertx.ext.auth.authorization.RoleBasedAuthorization getDelegate()
getDelegate in class Authorizationpublic static RoleBasedAuthorization create(String role)
public String getRole()
public String getResource()
public RoleBasedAuthorization setResource(String resource)
resource - public static RoleBasedAuthorization newInstance(io.vertx.ext.auth.authorization.RoleBasedAuthorization arg)
Copyright © 2022 Eclipse. All rights reserved.