public static class TokenAuthenticationRemoteJWKSValidationPolicy.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TokenAuthenticationRemoteJWKSValidationPolicy.Builder |
additionalValidationPolicy(AdditionalValidationPolicy additionalValidationPolicy) |
TokenAuthenticationRemoteJWKSValidationPolicy |
build() |
TokenAuthenticationRemoteJWKSValidationPolicy.Builder |
copy(TokenAuthenticationRemoteJWKSValidationPolicy model) |
TokenAuthenticationRemoteJWKSValidationPolicy.Builder |
isSslVerifyDisabled(Boolean isSslVerifyDisabled)
Defines whether or not to uphold SSL verification.
|
TokenAuthenticationRemoteJWKSValidationPolicy.Builder |
maxCacheDurationInHours(Integer maxCacheDurationInHours)
The duration for which the JWKS should be cached before it is fetched again.
|
TokenAuthenticationRemoteJWKSValidationPolicy.Builder |
uri(String uri)
The uri from which to retrieve the key.
|
public TokenAuthenticationRemoteJWKSValidationPolicy.Builder additionalValidationPolicy(AdditionalValidationPolicy additionalValidationPolicy)
public TokenAuthenticationRemoteJWKSValidationPolicy.Builder uri(String uri)
The uri from which to retrieve the key. It must be accessible without authentication.
uri
- the value to setpublic TokenAuthenticationRemoteJWKSValidationPolicy.Builder isSslVerifyDisabled(Boolean isSslVerifyDisabled)
Defines whether or not to uphold SSL verification.
isSslVerifyDisabled
- the value to setpublic TokenAuthenticationRemoteJWKSValidationPolicy.Builder maxCacheDurationInHours(Integer maxCacheDurationInHours)
The duration for which the JWKS should be cached before it is fetched again.
maxCacheDurationInHours
- the value to setpublic TokenAuthenticationRemoteJWKSValidationPolicy build()
public TokenAuthenticationRemoteJWKSValidationPolicy.Builder copy(TokenAuthenticationRemoteJWKSValidationPolicy model)
Copyright © 2016–2024. All rights reserved.