public class OidcCommonConfig extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
OidcCommonConfig.Credentials |
static class |
OidcCommonConfig.Proxy |
static class |
OidcCommonConfig.Tls |
| Modifier and Type | Field and Description |
|---|---|
Optional<String> |
authServerUrl
The base URL of the OpenID Connect (OIDC) server, for example, `https://host:port/auth`.
|
Optional<String> |
clientId
The client-id of the application.
|
Optional<Duration> |
connectionDelay
The maximum amount of time connecting to the currently unavailable OIDC server will be attempted for.
|
Duration |
connectionTimeout
The amount of time after which the connection request to the currently unavailable OIDC server will time out.
|
OidcCommonConfig.Credentials |
credentials
Credentials which the OIDC adapter will use to authenticate to the OIDC server.
|
boolean |
discoveryEnabled
Enables OIDC discovery.
|
OidcCommonConfig.Proxy |
proxy
Options to configure a proxy that OIDC adapter will use for talking with OIDC server.
|
OidcCommonConfig.Tls |
tls
TLS configurations
|
Optional<String> |
tokenPath
Relative path of the OIDC token endpoint which issues access and refresh tokens
using either 'client_credentials' or 'password' grants
|
| Constructor and Description |
|---|
OidcCommonConfig() |
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
getAuthServerUrl() |
Optional<String> |
getClientId() |
Optional<Duration> |
getConnectionDelay() |
Duration |
getConnectionTimeout() |
OidcCommonConfig.Credentials |
getCredentials() |
OidcCommonConfig.Proxy |
getProxy() |
Optional<String> |
getTokenPath() |
boolean |
isDiscoveryEnabled() |
void |
setAuthServerUrl(String authServerUrl) |
void |
setClientId(String clientId) |
void |
setConnectionDelay(Duration connectionDelay) |
void |
setConnectionTimeout(Duration connectionTimeout) |
void |
setCredentials(OidcCommonConfig.Credentials credentials) |
void |
setDiscoveryEnabled(boolean enabled) |
void |
setProxy(OidcCommonConfig.Proxy proxy) |
void |
setTokenPath(String tokenPath) |
@ConfigItem public Optional<String> authServerUrl
@ConfigItem(defaultValue="true") public boolean discoveryEnabled
@ConfigItem public Optional<String> tokenPath
@ConfigItem public Optional<String> clientId
@ConfigItem public Optional<Duration> connectionDelay
@ConfigItem(defaultValue="10s") public Duration connectionTimeout
@ConfigItem public OidcCommonConfig.Credentials credentials
@ConfigItem public OidcCommonConfig.Proxy proxy
@ConfigItem public OidcCommonConfig.Tls tls
public void setConnectionDelay(Duration connectionDelay)
public void setAuthServerUrl(String authServerUrl)
public void setTokenPath(String tokenPath)
public void setClientId(String clientId)
public OidcCommonConfig.Credentials getCredentials()
public void setCredentials(OidcCommonConfig.Credentials credentials)
public boolean isDiscoveryEnabled()
public void setDiscoveryEnabled(boolean enabled)
public OidcCommonConfig.Proxy getProxy()
public void setProxy(OidcCommonConfig.Proxy proxy)
public Duration getConnectionTimeout()
public void setConnectionTimeout(Duration connectionTimeout)
Copyright © 2021 JBoss by Red Hat. All rights reserved.