Class TenantService

java.lang.Object
io.kestra.core.tenant.TenantService

@Singleton public class TenantService extends Object
  • Constructor Details

    • TenantService

      public TenantService()
  • Method Details

    • resolveTenant

      public String resolveTenant()
      Resolve the current tenant and return its identifier. If the tenant is the default tenant, it returns null, which is always the case on OSS as Tenant is an EE feature.
      Returns:
      the current tenant identifier