public class RoleBasedAuthorization extends Authorization
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.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, verify
public static final io.vertx.lang.rx.TypeArg<RoleBasedAuthorization> __TYPE_ARG
public RoleBasedAuthorization(io.vertx.ext.auth.authorization.RoleBasedAuthorization delegate)
public RoleBasedAuthorization(Object delegate)
public String toString()
toString
in class Authorization
public boolean equals(Object o)
equals
in class Authorization
public int hashCode()
hashCode
in class Authorization
public io.vertx.ext.auth.authorization.RoleBasedAuthorization getDelegate()
getDelegate
in class Authorization
public 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.