public class JWTAuthOptions extends Object
Constructor and Description |
---|
JWTAuthOptions()
Default constructor
|
JWTAuthOptions(JsonObject json)
Constructor to create an options from JSON
|
JWTAuthOptions(JWTAuthOptions other)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
JWTAuthOptions |
addJwk(JsonObject jwk) |
JWTAuthOptions |
addPubSecKey(PubSecKeyOptions pubSecKey) |
List<JsonObject> |
getJwks() |
JWTOptions |
getJWTOptions() |
KeyStoreOptions |
getKeyStore() |
String |
getPermissionsClaimKey()
Deprecated.
AuthN and AuthZ have been split in vert.x 4.0.0 in order to specify where
authorization will happen see
JWTAuthorization . |
List<PubSecKeyOptions> |
getPubSecKeys() |
JWTAuthOptions |
setJwks(List<JsonObject> jwks) |
JWTAuthOptions |
setJWTOptions(JWTOptions jwtOptions) |
JWTAuthOptions |
setKeyStore(KeyStoreOptions keyStore) |
JWTAuthOptions |
setPermissionsClaimKey(String permissionsClaimKey)
Deprecated.
AuthN and AuthZ have been split in vert.x 4.0.0 in order to specify where
authorization will happen see
JWTAuthorization . |
JWTAuthOptions |
setPubSecKeys(List<PubSecKeyOptions> pubSecKeys) |
public JWTAuthOptions()
public JWTAuthOptions(JWTAuthOptions other)
other
- the options to copypublic JWTAuthOptions(JsonObject json)
json
- the JSON@Deprecated public String getPermissionsClaimKey()
JWTAuthorization
.@Deprecated public JWTAuthOptions setPermissionsClaimKey(String permissionsClaimKey)
JWTAuthorization
.public KeyStoreOptions getKeyStore()
public JWTAuthOptions setKeyStore(KeyStoreOptions keyStore)
public List<PubSecKeyOptions> getPubSecKeys()
public JWTAuthOptions setPubSecKeys(List<PubSecKeyOptions> pubSecKeys)
public JWTAuthOptions addPubSecKey(PubSecKeyOptions pubSecKey)
public JWTOptions getJWTOptions()
public JWTAuthOptions setJWTOptions(JWTOptions jwtOptions)
public List<JsonObject> getJwks()
public JWTAuthOptions setJwks(List<JsonObject> jwks)
public JWTAuthOptions addJwk(JsonObject jwk)
Copyright © 2024 Eclipse. All rights reserved.