Package io.quarkus.oidc.runtime
Interface TenantConfigContext
- All Known Implementing Classes:
LazyTenantConfigContext,TenantConfigContextImpl
public sealed interface TenantConfigContext
permits TenantConfigContextImpl, LazyTenantConfigContext
-
Method Summary
Modifier and TypeMethodDescriptionstatic TenantConfigContextcreateNotReady(OidcProvider provider, OidcTenantConfig config, Supplier<io.smallrye.mutiny.Uni<TenantConfigContext>> staticTenantCreator) static TenantConfigContextcreateReady(OidcProvider provider, OidcTenantConfig config) default io.smallrye.mutiny.Uni<TenantConfigContext>Only static tenants that are notready()can and need to be initialized.Tenant configurationprovider()OIDC Providerbooleanready()
-
Method Details
-
oidcConfig
OidcTenantConfig oidcConfig()Tenant configuration -
provider
OidcProvider provider()OIDC Provider -
ready
boolean ready() -
getOidcTenantConfig
OidcTenantConfig getOidcTenantConfig() -
getOidcMetadata
OidcConfigurationMetadata getOidcMetadata() -
getOidcProviderClient
OidcProviderClientImpl getOidcProviderClient() -
getStateEncryptionKey
SecretKey getStateEncryptionKey() -
getTokenEncSecretKey
SecretKey getTokenEncSecretKey() -
getInternalIdTokenSecretKey
SecretKey getInternalIdTokenSecretKey() -
getOidcRedirectFilters
-
initialize
Only static tenants that are notready()can and need to be initialized.- Returns:
- self, or in case of not
ready(), possibly ready self
-
createReady
-
createNotReady
static TenantConfigContext createNotReady(OidcProvider provider, OidcTenantConfig config, Supplier<io.smallrye.mutiny.Uni<TenantConfigContext>> staticTenantCreator)
-