Interface JWTAuthorization
-
- All Superinterfaces:
AuthorizationProvider
public interface JWTAuthorization extends AuthorizationProvider
Implementation of the JWT authorization provider.- Author:
- Paulo Lopes.
-
-
Method Summary
Static Methods Modifier and Type Method Description static JWTAuthorization
create(String rootClaim)
Factory method to create a Authorization provider for JWT tokens.-
Methods inherited from interface io.vertx.ext.auth.authorization.AuthorizationProvider
getAuthorizations, getId
-
-
-
-
Method Detail
-
create
static JWTAuthorization create(String rootClaim)
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
-
-