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