Interface OAuth2AuthenticatorConfig.Builder
- Enclosing interface:
OAuth2AuthenticatorConfig
public static interface OAuth2AuthenticatorConfig.Builder
-
Method Summary
Modifier and TypeMethodDescriptionauthEndpoint(URI authEndpoint) authorizationCodeFlowTimeout(Duration authorizationCodeFlowTimeout) authorizationCodeFlowWebServerPort(int authorizationCodeFlowWebServerPort) backgroundThreadIdleTimeout(Duration backgroundThreadIdleTimeout) build()clientSecret(String clientSecret) clientSecret(Secret clientSecret) defaultAccessTokenLifespan(Duration defaultAccessTokenLifespan) defaultRefreshTokenLifespan(Duration defaultRefreshTokenLifespan) deviceAuthEndpoint(URI deviceAuthEndpoint) deviceCodeFlowPollInterval(Duration deviceCodeFlowPollInterval) deviceCodeFlowTimeout(Duration deviceCodeFlowTimeout) executor(ScheduledExecutorService executor) from(OAuth2AuthenticatorConfig config) impersonationConfig(ImpersonationConfig tokenExchangeConfig) objectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) preemptiveTokenRefreshIdleTimeout(Duration preemptiveTokenRefreshIdleTimeout) refreshSafetyWindow(Duration refreshSafetyWindow) Deprecated.sslContext(SSLContext sslContext) tokenEndpoint(URI tokenEndpoint) tokenExchangeConfig(TokenExchangeConfig tokenExchangeConfig) tokenExchangeEnabled(boolean tokenExchangeEnabled) Deprecated.
-
Method Details
-
from
-
issuerUrl
-
tokenEndpoint
-
authEndpoint
-
deviceAuthEndpoint
-
grantType
-
clientId
-
clientSecret
-
clientSecret
-
username
-
password
-
password
-
scope
Deprecated. -
addScope
-
addScopes
-
scopes
-
tokenExchangeEnabled
@Deprecated @CanIgnoreReturnValue OAuth2AuthenticatorConfig.Builder tokenExchangeEnabled(boolean tokenExchangeEnabled) Deprecated. -
tokenExchangeConfig
@CanIgnoreReturnValue OAuth2AuthenticatorConfig.Builder tokenExchangeConfig(TokenExchangeConfig tokenExchangeConfig) -
impersonationConfig
@CanIgnoreReturnValue OAuth2AuthenticatorConfig.Builder impersonationConfig(ImpersonationConfig tokenExchangeConfig) -
defaultAccessTokenLifespan
@CanIgnoreReturnValue OAuth2AuthenticatorConfig.Builder defaultAccessTokenLifespan(Duration defaultAccessTokenLifespan) -
defaultRefreshTokenLifespan
@CanIgnoreReturnValue OAuth2AuthenticatorConfig.Builder defaultRefreshTokenLifespan(Duration defaultRefreshTokenLifespan) -
refreshSafetyWindow
@CanIgnoreReturnValue OAuth2AuthenticatorConfig.Builder refreshSafetyWindow(Duration refreshSafetyWindow) -
preemptiveTokenRefreshIdleTimeout
@CanIgnoreReturnValue OAuth2AuthenticatorConfig.Builder preemptiveTokenRefreshIdleTimeout(Duration preemptiveTokenRefreshIdleTimeout) -
backgroundThreadIdleTimeout
@CanIgnoreReturnValue OAuth2AuthenticatorConfig.Builder backgroundThreadIdleTimeout(Duration backgroundThreadIdleTimeout) -
authorizationCodeFlowTimeout
@CanIgnoreReturnValue OAuth2AuthenticatorConfig.Builder authorizationCodeFlowTimeout(Duration authorizationCodeFlowTimeout) -
authorizationCodeFlowWebServerPort
@CanIgnoreReturnValue OAuth2AuthenticatorConfig.Builder authorizationCodeFlowWebServerPort(int authorizationCodeFlowWebServerPort) -
deviceCodeFlowTimeout
@CanIgnoreReturnValue OAuth2AuthenticatorConfig.Builder deviceCodeFlowTimeout(Duration deviceCodeFlowTimeout) -
deviceCodeFlowPollInterval
@CanIgnoreReturnValue OAuth2AuthenticatorConfig.Builder deviceCodeFlowPollInterval(Duration deviceCodeFlowPollInterval) -
sslContext
-
objectMapper
@CanIgnoreReturnValue OAuth2AuthenticatorConfig.Builder objectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
executor
-
build
OAuth2AuthenticatorConfig build()
-