Class Tenant
java.lang.Object
io.helidon.security.providers.oidc.common.Tenant
Holder of the tenant configuration resolved at runtime. Used for OIDC lazy loading.
-
Method Summary
Modifier and TypeMethodDescriptionClient with configured proxy and security.Authorization endpoint.static Tenantcreate(OidcConfig oidcConfig, TenantConfig tenantConfig) Create new instance and resolve all the metadata related values.Introspection endpoint URI.issuer()Token issuer.Logout endpoint on OIDC server.signJwk()JWK used for signature validation.Provided tenant configuration.Token endpoint URI.
-
Method Details
-
create
Create new instance and resolve all the metadata related values.- Parameters:
oidcConfig- overall OIDC configtenantConfig- tenant config- Returns:
- new instance with resolved OIDC metadata
-
tenantConfig
-
tokenEndpointUri
-
authorizationEndpointUri
Authorization endpoint.- Returns:
- authorization endpoint uri as a string
-
logoutEndpointUri
-
issuer
-
appWebClient
Client with configured proxy and security. For a lazily loaded tenant, the client is created only after the tenant configuration has loaded successfully. When token endpoint authentication isOidcConfig.ClientAuthentication.CLIENT_SECRET_BASIC, client credentials are scoped to POST requests on the token endpoint scheme, host, and path and, when JWT introspection is used, to POST requests on the introspection endpoint scheme, host, and path.- Returns:
- client for communicating with OIDC identity server
-
signJwk
JWK used for signature validation.- Returns:
- set of keys used to verify tokens
-
introspectUri
-