Class JWTAuthOptions
java.lang.Object
io.vertx.ext.auth.jwt.JWTAuthOptions
Options describing how an JWT Auth should behave.
- Author:
- Paulo Lopes
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorJWTAuthOptions(JsonObject json) Constructor to create an options from JSONJWTAuthOptions(JWTAuthOptions other) Copy constructor -
Method Summary
Modifier and TypeMethodDescriptionaddJwk(JsonObject jwk) addPubSecKey(PubSecKeyOptions pubSecKey) getJwks()setJwks(List<JsonObject> jwks) setJWTOptions(JWTOptions jwtOptions) setKeyStore(KeyStoreOptions keyStore) setPubSecKeys(List<PubSecKeyOptions> pubSecKeys)
-
Constructor Details
-
JWTAuthOptions
public JWTAuthOptions()Default constructor -
JWTAuthOptions
Copy constructor- Parameters:
other- the options to copy
-
JWTAuthOptions
Constructor to create an options from JSON- Parameters:
json- the JSON
-
-
Method Details
-
getKeyStore
-
setKeyStore
-
getPubSecKeys
-
setPubSecKeys
-
addPubSecKey
-
getJWTOptions
-
setJWTOptions
-
getJwks
-
setJwks
-
addJwk
-