public class AuthorizationProvider extends Object
original non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<AuthorizationProvider> |
__TYPE_ARG |
| Constructor and Description |
|---|
AuthorizationProvider(AuthorizationProvider delegate) |
| Modifier and Type | Method and Description |
|---|---|
static AuthorizationProvider |
create(String id,
Set<Authorization> authorizations)
create an authorization provider with the specified id and authorizations
|
boolean |
equals(Object o) |
void |
getAuthorizations(User user)
Returns the set of authorizations of the specified user
|
void |
getAuthorizations(User user,
Handler<AsyncResult<Set<Authorization>>> handler)
Returns the set of authorizations of the specified user
|
AuthorizationProvider |
getDelegate() |
String |
getId()
returns the id of the authorization provider
|
int |
hashCode() |
static AuthorizationProvider |
newInstance(AuthorizationProvider arg) |
Single<Set<Authorization>> |
rxGetAuthorizations(User user)
Returns the set of authorizations of the specified user
|
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<AuthorizationProvider> __TYPE_ARG
public AuthorizationProvider(AuthorizationProvider delegate)
public AuthorizationProvider getDelegate()
public static AuthorizationProvider create(String id, Set<Authorization> authorizations)
id - authorizations - public String getId()
public void getAuthorizations(User user, Handler<AsyncResult<Set<Authorization>>> handler)
user - handler - public void getAuthorizations(User user)
user - public Single<Set<Authorization>> rxGetAuthorizations(User user)
user - public static AuthorizationProvider newInstance(AuthorizationProvider arg)
Copyright © 2019 Eclipse. All rights reserved.