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.function.Function;
import io.quarkus.oidc.OidcTenantConfig;
public class TenantConfigBean {
private final Map staticTenantsConfig;
private final TenantConfigContext defaultTenant;
private final Function tenantConfigContextFactory;
public TenantConfigBean(Map staticTenantsConfig, TenantConfigContext defaultTenant,
Function tenantConfigContextFactory) {
this.staticTenantsConfig = staticTenantsConfig;
this.defaultTenant = defaultTenant;
this.tenantConfigContextFactory = tenantConfigContextFactory;
}
public Map getStaticTenantsConfig() {
return staticTenantsConfig;
}
public TenantConfigContext getDefaultTenant() {
return defaultTenant;
}
public Function getTenantConfigContextFactory() {
return tenantConfigContextFactory;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy