T
- the type of OAuthClientConfiguration
builder to build.C
- the type of OAuthClientConfiguration
to build.public abstract static class OpenIDConnectClientConfiguration.Builder<T extends OpenIDConnectClientConfiguration.Builder<T,C>,C extends OAuth2ClientConfiguration> extends OAuth2ClientConfiguration.Builder<T,C>
Modifier | Constructor and Description |
---|---|
protected |
Builder(Function<T,C> builder)
Limit visibility.
|
Modifier and Type | Method and Description |
---|---|
T |
withConnectionTimeout(int connectionTimeout)
Set the connectionTimeout.
|
T |
withIssuer(String issuer)
Set the issuer.
|
T |
withJwk(String jwkSetEndpoint)
Set the JWK Set URL Endpoint.
|
T |
withKeyAlias(String keyAlias)
Set the keyAlias.
|
T |
withKeystoreLocation(String keystoreLocation)
Set the keystoreLocation.
|
T |
withKeystorePassword(String keystorePassword)
Set the keystorePassword.
|
T |
withKeystoreType(String keystoreType)
Set the keystoreType.
|
T |
withReadTimeout(int readTimeout)
Set the readTimeout.
|
T |
withWellKnownEndpoint(String wellKnownEndpoint)
Set the wellKnownEndpoint.
|
withAuthorizationEndpoint, withBasicAuth, withClientId, withClientSecret, withPkceMethod, withRedirectUri, withScope, withScopeDelimiter, withTokenEndpoint, withUserInfoEndpoint
build, self, withAuthenticationIdKey, withProvider
protected Builder(Function<T,C> builder)
builder
- OpenIDConnectClientConfiguration
builderpublic T withWellKnownEndpoint(String wellKnownEndpoint)
wellKnownEndpoint
- well-known url.public T withKeyAlias(String keyAlias)
keyAlias
- the name under which the key is stored in the trust store.public T withJwk(String jwkSetEndpoint)
jwkSetEndpoint
- the URL of the configuration to use to generate the resolver.public T withKeystoreLocation(String keystoreLocation)
keystoreLocation
- the location of the trust store file.public T withKeystorePassword(String keystorePassword)
keystorePassword
- the password to the keystore.public T withKeystoreType(String keystoreType)
keystoreType
- the type of keystore to which the location param points.public T withReadTimeout(int readTimeout)
readTimeout
- http read timeout for a resolver.public T withConnectionTimeout(int connectionTimeout)
connectionTimeout
- http connection timeout for a resolver.Copyright © 2010-2018, ForgeRock All Rights Reserved.