Package io.quarkus.oidc
Interface TenantConfigResolver
-
public interface TenantConfigResolverA tenant resolver is responsible for resolving the
OidcTenantConfigfor tenants, dynamically.Instead of implementing a
TenantResolverthat maps the tenant configuration based on an identifier and its corresponding entry in the application configuration file, beans implementing this interface can dynamically construct the tenant configuration without having to define each tenant in the application configuration file.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.smallrye.mutiny.Uni<OidcTenantConfig>resolve(io.vertx.ext.web.RoutingContext routingContext, OidcRequestContext<OidcTenantConfig> requestContext)Returns aOidcTenantConfiggiven aRoutingContext.
-
-
-
Method Detail
-
resolve
io.smallrye.mutiny.Uni<OidcTenantConfig> resolve(io.vertx.ext.web.RoutingContext routingContext, OidcRequestContext<OidcTenantConfig> requestContext)
Returns aOidcTenantConfiggiven aRoutingContext.- Parameters:
requestContext- the routing context- Returns:
- the tenant configuration. If the uni resolves to
null, indicates that the default configuration/tenant should be chosen
-
-