Package io.quarkus.oidc.client
Class OidcClientConfig
java.lang.Object
io.quarkus.oidc.common.runtime.OidcCommonConfig
io.quarkus.oidc.common.runtime.OidcClientCommonConfig
io.quarkus.oidc.client.OidcClientConfig
- All Implemented Interfaces:
OidcClientConfig,OidcClientCommonConfig,OidcCommonConfig
@Deprecated(since="3.18")
public class OidcClientConfig
extends OidcClientCommonConfig
implements OidcClientConfig
Deprecated.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class io.quarkus.oidc.common.runtime.OidcClientCommonConfig
OidcClientCommonConfig.CredentialsNested classes/interfaces inherited from class io.quarkus.oidc.common.runtime.OidcCommonConfig
OidcCommonConfig.Proxy, OidcCommonConfig.TlsNested 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 -
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanDeprecated.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.Deprecated.Access token expiration period relative to the current time.Deprecated.Access token expiry time skew that can be added to the calculated token expiry time.booleanDeprecated.If this client configuration is enabled.booleanDeprecated.Requires that all filters which use 'OidcClient' acquire the tokens at the post-construct initialization time, possibly long before these tokens are used.Deprecated.Deprecated.Grant optionsDeprecated.Custom HTTP headers which have to be sent to the token endpointDeprecated.A unique OIDC client identifier.Deprecated.Refresh token time skew.Deprecated.List of access token scopesFields inherited from class io.quarkus.oidc.common.runtime.OidcClientCommonConfig
clientId, clientName, credentials, revokePath, tokenPathFields inherited from class io.quarkus.oidc.common.runtime.OidcCommonConfig
authServerUrl, connectionDelay, connectionRetryCount, connectionTimeout, discoveryEnabled, followRedirects, maxPoolSize, proxy, registrationPath, tls, useBlockingDnsLookup -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.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.Deprecated.Access token expiration period relative to the current time.Deprecated.Access token expiry time skew that can be added to the calculated token expiry time.booleanDeprecated.If this client configuration is enabled.booleanDeprecated.Requires that all filters which use 'OidcClient' acquire the tokens at the post-construct initialization time, possibly long before these tokens are used.getGrant()Deprecated.Deprecated.Deprecated.getId()Deprecated.Deprecated.Deprecated.grant()Deprecated.OIDC Client grant config group.Deprecated.Grant optionsheaders()Deprecated.Custom HTTP headers which have to be sent to the token endpointid()Deprecated.A unique OIDC client identifier.booleanDeprecated.booleanDeprecated.Deprecated.Refresh token time skew.scopes()Deprecated.List of access token scopesvoidsetAbsoluteExpiresIn(boolean absoluteExpiresIn) Deprecated.voidsetClientEnabled(boolean clientEnabled) Deprecated.voidsetGrant(OidcClientConfig.Grant grant) Deprecated.voidDeprecated.voidsetHeaders(Map<String, String> headers) Deprecated.voidDeprecated.voidsetRefreshTokenTimeSkew(Duration refreshTokenTimeSkew) Deprecated.voidDeprecated.Methods inherited from class io.quarkus.oidc.common.runtime.OidcClientCommonConfig
clientId, clientName, credentials, getClientId, getClientName, getCredentials, getRevokePath, getTokenPath, revokePath, setClientId, setClientName, setCredentials, setRevokePath, setTokenPath, tokenPathMethods inherited from class io.quarkus.oidc.common.runtime.OidcCommonConfig
authServerUrl, connectionDelay, connectionRetryCount, connectionTimeout, discoveryEnabled, followRedirects, getAuthServerUrl, getConnectionDelay, getConnectionTimeout, getDiscoveryEnabled, getMaxPoolSize, getProxy, getRegistrationPath, isDiscoveryEnabled, maxPoolSize, proxy, registrationPath, setAuthServerUrl, setConnectionDelay, setConnectionTimeout, setDiscoveryEnabled, setDiscoveryEnabled, setMaxPoolSize, setProxy, setRegistrationPath, tls, useBlockingDnsLookupMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-
Field Details
-
id
Deprecated.A unique OIDC client identifier. It must be set when OIDC clients are created dynamically and is optional in all other cases. -
clientEnabled
public boolean clientEnabledDeprecated.If this client configuration is enabled. -
scopes
Deprecated.List of access token scopes -
refreshTokenTimeSkew
Deprecated.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
Deprecated.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
Deprecated.Access token expiry time skew that can be added to the calculated token expiry time. -
absoluteExpiresIn
public boolean absoluteExpiresInDeprecated.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
Deprecated. -
grantOptions
Deprecated.Grant options -
earlyTokensAcquisition
public boolean earlyTokensAcquisitionDeprecated.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
Deprecated.Custom HTTP headers which have to be sent to the token endpoint
-
-
Constructor Details
-
OidcClientConfig
public OidcClientConfig()Deprecated. -
OidcClientConfig
Deprecated.
-
-
Method Details
-
id
Deprecated.Description copied from interface:OidcClientConfigA unique OIDC client identifier. It must be set when OIDC clients are created dynamically and is optional in all other cases.- Specified by:
idin interfaceOidcClientConfig
-
clientEnabled
public boolean clientEnabled()Deprecated.Description copied from interface:OidcClientConfigIf this client configuration is enabled.- Specified by:
clientEnabledin interfaceOidcClientConfig
-
scopes
Deprecated.Description copied from interface:OidcClientConfigList of access token scopes- Specified by:
scopesin interfaceOidcClientConfig
-
refreshTokenTimeSkew
Deprecated.Description copied from interface:OidcClientConfigRefresh 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.- Specified by:
refreshTokenTimeSkewin interfaceOidcClientConfig
-
accessTokenExpiresIn
Deprecated.Description copied from interface:OidcClientConfigAccess 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.- Specified by:
accessTokenExpiresInin interfaceOidcClientConfig
-
accessTokenExpirySkew
Deprecated.Description copied from interface:OidcClientConfigAccess token expiry time skew that can be added to the calculated token expiry time.- Specified by:
accessTokenExpirySkewin interfaceOidcClientConfig
-
absoluteExpiresIn
public boolean absoluteExpiresIn()Deprecated.Description copied from interface:OidcClientConfigIf the access token 'expires_in' property should be checked as an absolute time value as opposed to a duration relative to the current time.- Specified by:
absoluteExpiresInin interfaceOidcClientConfig
-
grant
Deprecated.Description copied from interface:OidcClientConfigOIDC Client grant config group.- Specified by:
grantin interfaceOidcClientConfig
-
grantOptions
Deprecated.Description copied from interface:OidcClientConfigGrant options- Specified by:
grantOptionsin interfaceOidcClientConfig
-
earlyTokensAcquisition
public boolean earlyTokensAcquisition()Deprecated.Description copied from interface:OidcClientConfigRequires 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.- Specified by:
earlyTokensAcquisitionin interfaceOidcClientConfig
-
headers
Deprecated.Description copied from interface:OidcClientConfigCustom HTTP headers which have to be sent to the token endpoint- Specified by:
headersin interfaceOidcClientConfig
-
getId
Deprecated. -
setId
Deprecated. -
getGrantOptions
Deprecated. -
setGrantOptions
Deprecated. -
isClientEnabled
public boolean isClientEnabled()Deprecated. -
setClientEnabled
public void setClientEnabled(boolean clientEnabled) Deprecated. -
getScopes
Deprecated. -
setScopes
Deprecated. -
getRefreshTokenTimeSkew
Deprecated. -
setRefreshTokenTimeSkew
Deprecated. -
getHeaders
Deprecated. -
setHeaders
Deprecated. -
isAbsoluteExpiresIn
public boolean isAbsoluteExpiresIn()Deprecated. -
setAbsoluteExpiresIn
public void setAbsoluteExpiresIn(boolean absoluteExpiresIn) Deprecated. -
setGrant
Deprecated. -
getGrant
Deprecated.
-
OidcClientConfigwith theOidcClientConfigBuilderfor example, you can use theOidcClientConfig.builder()method.