MCPcopy Index your code
hub / github.com/APIParkLab/APIPark / imlAuthorizationModule

Struct imlAuthorizationModule

module/application-authorization/iml.go:39–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37)
38
39type imlAuthorizationModule struct {
40 serviceService service.IServiceService `autowired:""`
41 subscribeService subscribe.ISubscribeService `autowired:""`
42 authorizationService application_authorization.IAuthorizationService `autowired:""`
43 clusterService cluster.IClusterService `autowired:""`
44 transaction store.ITransaction `autowired:""`
45}
46
47func (i *imlAuthorizationModule) CheckAPIKeyAuthorizationByApp(ctx context.Context, appId string, apikey string) (bool, error) {
48 authorizations, err := i.authorizationService.ListByApp(ctx, appId)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected