Interface AuthorizationProvider
-
- All Superinterfaces:
RxDelegate
- All Known Implementing Classes:
JWTAuthorization,KeycloakAuthorization,MicroProfileAuthorization,PolicyBasedAuthorizationProvider,PropertyFileAuthorization,ScopeAuthorization,SqlAuthorization
public interface AuthorizationProvider extends RxDelegate
The role of an AuthorizationProvider is to return a set of Authorization. Note that each AuthorizationProvider must provide its own unique IdNOTE: This class has been automatically generated from the
originalnon RX-ified interface using Vert.x codegen.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description Future<Void>getAuthorizations(User user)Updates the user with the set of authorizations.AuthorizationProvidergetDelegate()StringgetId()returns the id of the authorization providerstatic AuthorizationProvidernewInstance(AuthorizationProvider arg)io.reactivex.CompletablerxGetAuthorizations(User user)Updates the user with the set of authorizations.
-
-
-
Method Detail
-
getDelegate
AuthorizationProvider getDelegate()
- Specified by:
getDelegatein interfaceRxDelegate
-
getId
String getId()
returns the id of the authorization provider- Returns:
-
getAuthorizations
Future<Void> getAuthorizations(User user)
Updates the user with the set of authorizations.- Parameters:
user- user to lookup and update.- Returns:
- Future void to signal end of asynchronous call.
-
rxGetAuthorizations
io.reactivex.Completable rxGetAuthorizations(User user)
Updates the user with the set of authorizations.- Parameters:
user- user to lookup and update.- Returns:
- Future void to signal end of asynchronous call.
-
newInstance
static AuthorizationProvider newInstance(AuthorizationProvider arg)
-
-