MCPcopy Create free account
hub / github.com/pace/bricks / Authorizer

Struct Authorizer

http/security/apikey/authorizer.go:14–17  ·  view source on GitHub ↗

Authorizer implements the security.Authorizer interface for an api key based authorization.

Source from the content-addressed store, hash-verified

12
13// Authorizer implements the security.Authorizer interface for an api key based authorization.
14type Authorizer struct {
15 authConfig *Config
16 apiKey string
17}
18
19// Config contains the configuration of the security schema with type "apiKey".
20type Config struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected