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) |
JWTAuthOptions |
addSecret(SecretOptions secret)
Deprecated.
|
List<JsonObject> |
getJwks() |
JWTOptions |
getJWTOptions() |
KeyStoreOptions |
getKeyStore() |
String |
getPermissionsClaimKey() |
List<PubSecKeyOptions> |
getPubSecKeys() |
List<SecretOptions> |
getSecrets()
Deprecated.
|
JWTAuthOptions |
setJwks(List<JsonObject> jwks) |
JWTAuthOptions |
setJWTOptions(JWTOptions jwtOptions) |
JWTAuthOptions |
setKeyStore(KeyStoreOptions keyStore) |
JWTAuthOptions |
setPermissionsClaimKey(String permissionsClaimKey) |
JWTAuthOptions |
setPubSecKeys(List<PubSecKeyOptions> pubSecKeys) |
JWTAuthOptions |
setSecrets(List<SecretOptions> secrets)
Deprecated.
|
public JWTAuthOptions()
public JWTAuthOptions(JWTAuthOptions other)
other
- the options to copypublic JWTAuthOptions(JsonObject json)
json
- the JSONpublic String getPermissionsClaimKey()
public JWTAuthOptions setPermissionsClaimKey(String permissionsClaimKey)
public KeyStoreOptions getKeyStore()
public JWTAuthOptions setKeyStore(KeyStoreOptions keyStore)
public List<PubSecKeyOptions> getPubSecKeys()
public JWTAuthOptions setPubSecKeys(List<PubSecKeyOptions> pubSecKeys)
@Deprecated public List<SecretOptions> getSecrets()
@Deprecated public JWTAuthOptions setSecrets(List<SecretOptions> secrets)
@Deprecated public JWTAuthOptions addSecret(SecretOptions secret)
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 © 2023 Eclipse. All rights reserved.