public interface AuthorizationProvider
Modifier and Type | Method and Description |
---|---|
static AuthorizationProvider |
create(String id,
Set<Authorization> authorizations)
create an authorization provider with the specified id and authorizations
|
default Future<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.
|
String |
getId()
returns the id of the authorization provider
|
static AuthorizationProvider create(String id, Set<Authorization> authorizations)
id
- authorizations
- String getId()
void getAuthorizations(User user, Handler<AsyncResult<Void>> handler)
user
- user to lookup and updatehandler
- result handlerCopyright © 2024 Eclipse. All rights reserved.