Interface Tenants

All Known Implementing Classes:
TenantsImpl

public interface Tenants
  • Method Summary

    Modifier and Type
    Method
    Description
    static Tenants
    Factory function to create a new tenants instance
    Returns the list of tenants which are assigned to the user linked to the token.
  • Method Details

    • forToken

      List<Tenant> forToken(String token)
      Returns the list of tenants which are assigned to the user linked to the token.
      Parameters:
      token - the token
      Returns:
      the list of tenants
    • create

      static Tenants create(IdentityConfiguration configuration)
      Factory function to create a new tenants instance
      Parameters:
      configuration - Identity configuration
      Returns:
      Tenants instance