io.quarkus.oidc.runtime.TenantConfigBean Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-oidc Show documentation
Show all versions of quarkus-oidc Show documentation
Secure your applications with OpenID Connect Adapter and IDP such as Keycloak
package io.quarkus.oidc.runtime;
import java.util.Map;
import java.util.concurrent.Executor;
import java.util.function.Function;
import io.quarkus.oidc.OidcTenantConfig;
import io.smallrye.mutiny.Uni;
public class TenantConfigBean {
private final Map staticTenantsConfig;
private final Map dynamicTenantsConfig;
private final TenantConfigContext defaultTenant;
private final Function> tenantConfigContextFactory;
private final Executor blockingExecutor;
public TenantConfigBean(
Map staticTenantsConfig,
Map dynamicTenantsConfig,
TenantConfigContext defaultTenant,
Function> tenantConfigContextFactory,
Executor blockingExecutor) {
this.staticTenantsConfig = staticTenantsConfig;
this.dynamicTenantsConfig = dynamicTenantsConfig;
this.defaultTenant = defaultTenant;
this.tenantConfigContextFactory = tenantConfigContextFactory;
this.blockingExecutor = blockingExecutor;
}
public Map getStaticTenantsConfig() {
return staticTenantsConfig;
}
public TenantConfigContext getDefaultTenant() {
return defaultTenant;
}
public Function> getTenantConfigContextFactory() {
return tenantConfigContextFactory;
}
public Map getDynamicTenantsConfig() {
return dynamicTenantsConfig;
}
public Executor getBlockingExecutor() {
return blockingExecutor;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy