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) |
AuthorizationProvider(Object 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)
Updates the user with the set of authorizations.
|
void |
getAuthorizations(User user,
Handler<AsyncResult<Void>> handler)
Updates the user with the set of authorizations.
|
AuthorizationProvider |
getDelegate() |
String |
getId()
returns the id of the authorization provider
|
int |
hashCode() |
static AuthorizationProvider |
newInstance(AuthorizationProvider arg) |
Single<Void> |
rxGetAuthorizations(User user)
Updates the user with the set of authorizations.
|
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<AuthorizationProvider> __TYPE_ARG
public AuthorizationProvider(AuthorizationProvider delegate)
public AuthorizationProvider(Object 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<Void>> handler)
user
- user to lookup and updatehandler
- result handlerpublic void getAuthorizations(User user)
user
- user to lookup and updatepublic Single<Void> rxGetAuthorizations(User user)
user
- user to lookup and updatepublic static AuthorizationProvider newInstance(AuthorizationProvider arg)
Copyright © 2024 Eclipse. All rights reserved.