@EachProperty(value="micronaut.security.token.jwt.signatures.jwks") public class JwksSignatureConfigurationProperties extends java.lang.Object implements JwksSignatureConfiguration
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_CACHE_EXPIRATION
The default cache expiration.
|
static com.nimbusds.jose.jwk.KeyType |
DEFAULT_KEYTYPE
The default key type.
|
static java.lang.String |
PREFIX |
Constructor and Description |
---|
JwksSignatureConfigurationProperties() |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getCacheExpiration() |
com.nimbusds.jose.jwk.KeyType |
getKeyType()
Representation the KeyType for this JWKS signature configuration.
|
@NotNull java.lang.String |
getUrl()
Json Web Key Set endpoint url.
|
void |
setCacheExpiration(java.lang.Integer cacheExpiration)
JWKS cache expiration.
|
void |
setKeyType(com.nimbusds.jose.jwk.KeyType keyType)
Representation of the kty parameter in a JSON Web Key (JWK).
|
void |
setUrl(java.lang.String url)
Remote JSON Web Key set url.
|
public static final java.lang.String PREFIX
public static final com.nimbusds.jose.jwk.KeyType DEFAULT_KEYTYPE
public static final int DEFAULT_CACHE_EXPIRATION
public JwksSignatureConfigurationProperties()
@NonNull public java.lang.Integer getCacheExpiration()
getCacheExpiration
in interface JwksSignatureConfiguration
public void setCacheExpiration(java.lang.Integer cacheExpiration)
cacheExpiration
- The expiration@NotNull @NonNull public @NotNull java.lang.String getUrl()
JwksSignatureConfiguration
getUrl
in interface JwksSignatureConfiguration
public void setUrl(java.lang.String url)
url
- Remote JSON Web Key set url.@Nullable public com.nimbusds.jose.jwk.KeyType getKeyType()
JwksSignatureConfiguration
getKeyType
in interface JwksSignatureConfiguration
public void setKeyType(com.nimbusds.jose.jwk.KeyType keyType)
keyType
- Representation of the kty parameter in a JSON Web Key (JWK).