Documentation
¶
Index ¶
- func NewClaimsValidator() *claimsValidator
- func NewScopesValidator(requiredScopes []string) *scopeBasedClaimsValidator
- func NewValidator(transact persistence.Transactioner, runtimesSvc RuntimeService, ...) *validator
- type ApplicationService
- type ApplicationTemplateService
- type IntegrationSystemService
- type RuntimeCtxService
- type RuntimeService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClaimsValidator ¶
func NewClaimsValidator() *claimsValidator
NewClaimsValidator implements the ClaimsValidator interface
func NewScopesValidator ¶
func NewScopesValidator(requiredScopes []string) *scopeBasedClaimsValidator
NewScopesValidator creates new scopes validator for given scopes.
func NewValidator ¶
func NewValidator(transact persistence.Transactioner, runtimesSvc RuntimeService, runtimeCtxSvc RuntimeCtxService, appTemplateSvc ApplicationTemplateService, applicationSvc ApplicationService, intSystemSvc IntegrationSystemService, subscriptionProviderLabelKey, globalSubaccountIDLabelKey, tokenPrefix string) *validator
NewValidator creates new claims validator
Types ¶
type ApplicationService ¶
type ApplicationService interface {
ListAll(ctx context.Context) ([]*model.Application, error)
}
ApplicationService is responsible for the service-layer Application operations.
type ApplicationTemplateService ¶
type ApplicationTemplateService interface {
GetByFilters(ctx context.Context, filter []*labelfilter.LabelFilter) (*model.ApplicationTemplate, error)
}
ApplicationTemplateService is used to interact with application templates.
type IntegrationSystemService ¶
IntegrationSystemService is used to check if integration system with a given ID exists.
type RuntimeCtxService ¶
type RuntimeCtxService interface {
ListByFilter(ctx context.Context, runtimeID string, filter []*labelfilter.LabelFilter, pageSize int, cursor string) (*model.RuntimeContextPage, error)
}
RuntimeCtxService is used to interact with runtime contexts.
Click to show internal directories.
Click to hide internal directories.