Interface TenantConfigResolver


  • public interface TenantConfigResolver

    A tenant resolver is responsible for resolving the OidcTenantConfig for tenants, dynamically.

    Instead of implementing a TenantResolver that 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 Detail

      • resolve

        OidcTenantConfig resolve​(io.vertx.ext.web.RoutingContext context)
        Returns a OidcTenantConfig given a RoutingContext.
        Parameters:
        context - the routing context
        Returns:
        the tenant configuration. If null, indicates that the default configuration/tenant should be chosen