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 Default Methods Deprecated Methods Modifier and Type Method Description default OidcTenantConfigresolve(io.vertx.ext.web.RoutingContext context)Deprecated.Use {@link #resolve(RoutingContext, OidcRequestContext))} instead. default io.smallrye.mutiny.Uni<OidcTenantConfig>resolve(io.vertx.ext.web.RoutingContext routingContext, OidcRequestContext<OidcTenantConfig> requestContext)Returns aOidcTenantConfiggiven aRoutingContext.
-
-
-
Method Detail
-
resolve
@Deprecated default OidcTenantConfig resolve(io.vertx.ext.web.RoutingContext context)
Deprecated.Use {@link #resolve(RoutingContext, OidcRequestContext))} instead. Returns aOidcTenantConfiggiven aRoutingContext.- Parameters:
context- the routing context- Returns:
- the tenant configuration. If
null, indicates that the default configuration/tenant should be chosen
-
resolve
default 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
-
-