Uses of Class
io.helidon.security.providers.oidc.common.OidcConfig.Builder
Package
Description
Open ID Connect (OIDC) classes usable from all OIDC related components.
-
Uses of OidcConfig.Builder in io.helidon.security.providers.oidc.common
Modifier and TypeMethodDescriptionOidcConfig.Builder.accessTokenIpCheck
(boolean enabled) Whether to check if current IP address matches the one access token was issued for.OidcConfig.Builder.addTenantConfig
(TenantConfig tenantConfig) Add specificTenantConfig
instance.static OidcConfig.Builder
OidcConfig.builder()
Create a builder to programmatically construct OIDC configuration.Update this builder with values from configuration.OidcConfig.Builder.cookieDomain
(String domain) Domain the cookie is valid for.OidcConfig.Builder.cookieEncryptionEnabled
(boolean cookieEncryptionEnabled) Whether to encrypt token cookie created by this microservice.OidcConfig.Builder.cookieEncryptionEnabledIdToken
(boolean cookieEncryptionEnabled) Whether to encrypt id token cookie created by this microservice.OidcConfig.Builder.cookieEncryptionEnabledRefreshToken
(boolean cookieEncryptionEnabled) Whether to encrypt refresh token cookie created by this microservice.OidcConfig.Builder.cookieEncryptionEnabledState
(boolean cookieEncryptionEnabled) Whether to encrypt state cookie created by this microservice.OidcConfig.Builder.cookieEncryptionEnabledTenantName
(boolean cookieEncryptionEnabled) Whether to encrypt tenant name cookie created by this microservice.OidcConfig.Builder.cookieEncryptionName
(String cookieEncryptionName) Name of the encryption configuration available throughSecurity.encrypt(String, byte[])
andSecurity.decrypt(String, String)
.OidcConfig.Builder.cookieEncryptionPassword
(char[] cookieEncryptionPassword) Master password for encryption/decryption of cookies.OidcConfig.Builder.cookieHttpOnly
(Boolean httpOnly) When using cookie, if set to true, the HttpOnly attribute will be configured.OidcConfig.Builder.cookieMaxAgeSeconds
(long age) When using cookie, used to set MaxAge attribute of the cookie, defining how long the cookie is valid.OidcConfig.Builder.cookieName
(String cookieName) Name of the cookie to use.OidcConfig.Builder.cookieNameIdToken
(String cookieName) Name of the cookie to use for id token.OidcConfig.Builder.cookieNameRefreshToken
(String cookieName) The name of the cookie to use for the refresh token.OidcConfig.Builder.cookieNameState
(String cookieName) The name of the cookie to use for the state storage.OidcConfig.Builder.cookiePath
(String path) Path the cookie is valid for.OidcConfig.Builder.cookieSameSite
(SetCookie.SameSite sameSite) When using cookie, used to set the SameSite cookie value.OidcConfig.Builder.cookieSameSite
(String sameSite) When using cookie, used to set the SameSite cookie value.OidcConfig.Builder.cookieSecure
(Boolean secure) When using cookie, if set to true, the Secure attribute will be configured.OidcConfig.Builder.cookieTenantName
(String cookieName) The name of the cookie to use for the tenant name.OidcConfig.Builder.crossOriginConfig
(CrossOriginConfig crossOriginConfig) Assign cross-origin resource sharing settings.OidcConfig.Builder.forceHttpsRedirects
(boolean forceHttpsRedirects) Force HTTPS for redirects to identity provider.OidcConfig.Builder.frontendUri
(String uri) Full URI of this application that is visible from user browser.OidcConfig.Builder.headerTokenHandler
(TokenHandler tokenHandler) ATokenHandler
to process header containing a JWT.OidcConfig.Builder.idTokenParamName
(String idTokenParamName) Name of a query parameter that contains the JWT id token when parameter is used.OidcConfig.Builder.idTokenSignatureValidation
(boolean enabled) Whether id token signature check should be enabled.OidcConfig.Builder.logoutEnabled
(Boolean logoutEnabled) Whether to enable logout support.Path to register web server for logout link.OidcConfig.Builder.maxRedirects
(int maxRedirects) Configure maximal number of redirects when redirecting to an OIDC provider within a single authentication attempt.Name of a query parameter that contains the JWT access token when parameter is used.OidcConfig.Builder.paramTenantName
(String paramName) Name of a query parameter that contains the tenant name when the parameter is used.OidcConfig.Builder.postLogoutUri
(URI uri) URI to redirect to once the logout process is done.Proxy host to use.OidcConfig.Builder.proxyPort
(int proxyPort) Proxy port.OidcConfig.Builder.proxyProtocol
(String protocol) Proxy protocol to use when proxy is used.OidcConfig.Builder.redirect
(boolean redirect) By default, the client should redirect to the identity server for the user to log in.OidcConfig.Builder.redirectAttemptParam
(String paramName) Configure the parameter used to store the number of attempts in redirect.OidcConfig.Builder.redirectUri
(String redirectUri) URI to register web server component on, used by the OIDC server to redirect authorization requests to after a user logs in or approves scopes.OidcConfig.Builder.relativeUris
(boolean relativeUris) Can be set totrue
to force the use of relative URIs in all requests, regardless of the presence or absence of proxies or no-proxy lists.OidcConfig.Builder.tokenRefreshSkew
(Duration tokenRefreshSkew) Amount of time access token should be refreshed before its expiration time.OidcConfig.Builder.tokenSignatureValidation
(boolean enabled) Whether access token signature check should be enabled.Whether to use cookie to store JWT between requests.Whether to expect JWT in a header field.Whether to use a query parameter to send JWT token from application to this server.