Package io.quarkus.oidc
Interface TenantResolver
-
public interface TenantResolver
A tenant resolver is responsible for resolving tenants dynamically so that the proper configuration can be used accordingly.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
resolve(io.vertx.ext.web.RoutingContext context)
Returns a tenant identifier given aRoutingContext
, where the identifier will be used to choose the proper configuration during runtime.
-
-
-
Method Detail
-
resolve
String resolve(io.vertx.ext.web.RoutingContext context)
Returns a tenant identifier given aRoutingContext
, where the identifier will be used to choose the proper configuration during runtime.- Parameters:
context
- the routing context- Returns:
- the tenant identifier. If
null
, indicates that the default configuration/tenant should be chosen
-
-