Documentation ¶
Overview ¶
Package tenant implements Tenant service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TenantIDChecker ¶ added in v1.0.0
func TenantIDChecker(ctx common.RestContext) bool
TenantIDChecker implements AuthZChecker function, ensuring that only user that has attribute of tenant corresponding to the tenantId in the path of request is allowed to execute.
Types ¶
type TenantSvc ¶
type TenantSvc struct {
// contains filtered or unexported fields
}
TenantSvc provides tenant service.
func (*TenantSvc) CreateSchema ¶ added in v1.0.0
func (*TenantSvc) Initialize ¶
func (tsvc *TenantSvc) Initialize(client *common.RestClient) error
Click to show internal directories.
Click to hide internal directories.