MCPcopy Create free account
hub / github.com/goadesign/goa / BasicScheme

Struct BasicScheme

security/scheme.go:23–31  ·  view source on GitHub ↗

BasicScheme represents the BasicAuth security scheme. It consists of a simple username and password.

Source from the content-addressed store, hash-verified

21 // BasicScheme represents the BasicAuth security scheme.
22 // It consists of a simple username and password.
23 BasicScheme struct {
24 // Name is the scheme name defined in the design.
25 Name string
26 // Scopes holds a list of scopes for the scheme.
27 Scopes []string
28 // RequiredScopes holds a list of scopes which are required
29 // by the scheme. It is a subset of Scopes field.
30 RequiredScopes []string
31 }
32
33 // APIKeyScheme represents the API key security scheme.
34 // It consists of a key which is used in authentication.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected