Class MicroProfileAuthorization
- java.lang.Object
- 
- io.vertx.reactivex.ext.auth.jwt.authorization.MicroProfileAuthorization
 
- 
- All Implemented Interfaces:
- io.vertx.lang.rx.RxDelegate,- AuthorizationProvider
 
 public class MicroProfileAuthorization extends Object implements io.vertx.lang.rx.RxDelegate, AuthorizationProvider Implementation of the Microprofile MP-JWT 1.1 RBAC based on the access token groups key.NOTE: This class has been automatically generated from the originalnon RX-ified interface using Vert.x codegen.
- 
- 
Field SummaryFields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<MicroProfileAuthorization>__TYPE_ARG
 - 
Constructor SummaryConstructors Constructor Description MicroProfileAuthorization(MicroProfileAuthorization delegate)MicroProfileAuthorization(Object delegate)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MicroProfileAuthorizationcreate()Factory method to create a Authorization provider for tokens adhering to the MP-JWT 1.1 spec.booleanequals(Object o)Future<Void>getAuthorizations(User user)Updates the user with the set of authorizations.MicroProfileAuthorizationgetDelegate()StringgetId()returns the id of the authorization providerinthashCode()static MicroProfileAuthorizationnewInstance(MicroProfileAuthorization arg)CompletablerxGetAuthorizations(User user)Updates the user with the set of authorizations.StringtoString()
 
- 
- 
- 
Field Detail- 
__TYPE_ARGpublic static final io.vertx.lang.rx.TypeArg<MicroProfileAuthorization> __TYPE_ARG 
 
- 
 - 
Constructor Detail- 
MicroProfileAuthorizationpublic MicroProfileAuthorization(MicroProfileAuthorization delegate) 
 - 
MicroProfileAuthorizationpublic MicroProfileAuthorization(Object delegate) 
 
- 
 - 
Method Detail- 
getDelegatepublic MicroProfileAuthorization getDelegate() - Specified by:
- getDelegatein interface- AuthorizationProvider
- Specified by:
- getDelegatein interface- io.vertx.lang.rx.RxDelegate
 
 - 
getIdpublic String getId() returns the id of the authorization provider- Specified by:
- getIdin interface- AuthorizationProvider
- Returns:
 
 - 
getAuthorizationspublic Future<Void> getAuthorizations(User user) Updates the user with the set of authorizations.- Specified by:
- getAuthorizationsin interface- AuthorizationProvider
- Parameters:
- user- user to lookup and update.
- Returns:
- Future void to signal end of asynchronous call.
 
 - 
rxGetAuthorizationspublic Completable rxGetAuthorizations(User user) Updates the user with the set of authorizations.- Specified by:
- rxGetAuthorizationsin interface- AuthorizationProvider
- Parameters:
- user- user to lookup and update.
- Returns:
- Future void to signal end of asynchronous call.
 
 - 
createpublic static MicroProfileAuthorization create() Factory method to create a Authorization provider for tokens adhering to the MP-JWT 1.1 spec. When the user is known to not be a JWT, (e.g.: a OAuth2 response token) then the root claim is expected to be extracted from under the keyaccessToken.- Returns:
- a AuthorizationProvider
 
 - 
newInstancepublic static MicroProfileAuthorization newInstance(MicroProfileAuthorization arg) 
 
- 
 
-