Package io.quarkus.oidc.client.runtime
Interface OidcClientConfig
- All Superinterfaces:
OidcClientCommonConfig,OidcCommonConfig
- All Known Implementing Classes:
OidcClientConfig
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface io.quarkus.oidc.common.runtime.config.OidcClientCommonConfig
OidcClientCommonConfig.CredentialsNested classes/interfaces inherited from interface io.quarkus.oidc.common.runtime.config.OidcCommonConfig
OidcCommonConfig.Proxy, OidcCommonConfig.Tls -
Method Summary
Modifier and TypeMethodDescriptionbooleanIf the access token 'expires_in' property should be checked as an absolute time value as opposed to a duration relative to the current time.Access token expiration period relative to the current time.Access token expiry time skew that can be added to the calculated token expiry time.static OidcClientConfigBuilderauthServerUrl(String authServerUrl) CreatesOidcClientConfigBuilderbuilder populated with documented default values.static OidcClientConfigBuilderbuilder()CreatesOidcClientConfigBuilderbuilder populated with documented default values.static OidcClientConfigBuilderbuilder(OidcClientConfig config) CreatesOidcClientConfigBuilderbuilder populated withconfigvalues.booleanIf this client configuration is enabled.booleanRequires that all filters which use 'OidcClient' acquire the tokens at the post-construct initialization time, possibly long before these tokens are used.grant()OIDC Client grant config group.Grant optionsheaders()Custom HTTP headers which have to be sent to the token endpointid()A unique OIDC client identifier.Refresh token time skew.static OidcClientConfigBuilderregistrationPath(String registrationPath) CreatesOidcClientConfigBuilderbuilder populated with documented default values.scopes()List of access token scopesstatic OidcClientConfigBuilderCreatesOidcClientConfigBuilderbuilder populated with documented default values.Methods inherited from interface io.quarkus.oidc.common.runtime.config.OidcClientCommonConfig
clientId, clientName, credentials, revokePath, tokenPathMethods inherited from interface io.quarkus.oidc.common.runtime.config.OidcCommonConfig
authServerUrl, connectionDelay, connectionRetryCount, connectionTimeout, discoveryEnabled, followRedirects, maxPoolSize, proxy, registrationPath, tls, useBlockingDnsLookup
-
Method Details
-
id
A unique OIDC client identifier. It must be set when OIDC clients are created dynamically and is optional in all other cases. -
clientEnabled
@WithDefault("true") boolean clientEnabled()If this client configuration is enabled. -
scopes
List of access token scopes -
refreshTokenTimeSkew
Refresh token time skew. If this property is enabled then the configured duration is converted to seconds and is added to the current time when checking whether the access token should be refreshed. If the sum is greater than this access token's expiration time then a refresh is going to happen. -
accessTokenExpiresIn
Access token expiration period relative to the current time. This property is only checked when an access token grant response does not include an access token expiration property. -
accessTokenExpirySkew
Access token expiry time skew that can be added to the calculated token expiry time. -
absoluteExpiresIn
@WithDefault("false") boolean absoluteExpiresIn()If the access token 'expires_in' property should be checked as an absolute time value as opposed to a duration relative to the current time. -
grant
OidcClientConfig.Grant grant()OIDC Client grant config group. -
grantOptions
Grant options -
earlyTokensAcquisition
@WithDefault("true") boolean earlyTokensAcquisition()Requires that all filters which use 'OidcClient' acquire the tokens at the post-construct initialization time, possibly long before these tokens are used. This property should be disabled if the access token may expire before it is used for the first time and no refresh token is available. -
headers
Custom HTTP headers which have to be sent to the token endpoint -
builder
CreatesOidcClientConfigBuilderbuilder populated with documented default values.- Returns:
- OidcClientConfigBuilder builder
-
builder
CreatesOidcClientConfigBuilderbuilder populated withconfigvalues.- Parameters:
config- client config; must not be null- Returns:
- OidcClientConfigBuilder
-
authServerUrl
CreatesOidcClientConfigBuilderbuilder populated with documented default values.- Parameters:
authServerUrl-OidcCommonConfig.authServerUrl()- Returns:
- OidcClientConfigBuilder builder
-
registrationPath
CreatesOidcClientConfigBuilderbuilder populated with documented default values.- Parameters:
registrationPath-OidcCommonConfig.registrationPath()- Returns:
- OidcClientConfigBuilder builder
-
tokenPath
CreatesOidcClientConfigBuilderbuilder populated with documented default values.- Parameters:
tokenPath-OidcClientCommonConfig.tokenPath()- Returns:
- OidcClientConfigBuilder builder
-