Class JWTAuthorization
java.lang.Object
io.vertx.reactivex.ext.auth.jwt.authorization.JWTAuthorization
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate, AuthorizationProvider
public class JWTAuthorization
extends Object
implements io.vertx.lang.rx.RxDelegate, AuthorizationProvider
Implementation of the JWT authorization provider.
NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJWTAuthorization(JWTAuthorization delegate) JWTAuthorization(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionstatic JWTAuthorizationFactory method to create a Authorization provider for JWT tokens.booleangetAuthorizations(User user) Updates the user with the set of authorizations.getId()returns the id of the authorization providerinthashCode()static JWTAuthorizationrxGetAuthorizations(User user) Updates the user with the set of authorizations.toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
JWTAuthorization
-
JWTAuthorization
-
-
Method Details
-
toString
-
equals
-
hashCode
-
getDelegate
- Specified by:
getDelegatein interfaceAuthorizationProvider- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
getId
returns the id of the authorization provider- Specified by:
getIdin interfaceAuthorizationProvider- Returns:
-
getAuthorizations
Updates the user with the set of authorizations.- Specified by:
getAuthorizationsin interfaceAuthorizationProvider- Parameters:
user- user to lookup and update.- Returns:
- Future void to signal end of asynchronous call.
-
rxGetAuthorizations
Updates the user with the set of authorizations.- Specified by:
rxGetAuthorizationsin interfaceAuthorizationProvider- Parameters:
user- user to lookup and update.- Returns:
- Future void to signal end of asynchronous call.
-
create
Factory method to create a Authorization provider for JWT tokens.- Parameters:
rootClaim- slash separated string to the json array with the claims.- Returns:
- a AuthorizationProvider
-
newInstance
-