APIKeyScheme represents the API key security scheme. It consists of a key which is used in authentication.
| 33 | // APIKeyScheme represents the API key security scheme. |
| 34 | // It consists of a key which is used in authentication. |
| 35 | APIKeyScheme struct { |
| 36 | // Name is the scheme name defined in the design. |
| 37 | Name string |
| 38 | // Scopes holds a list of scopes for the scheme. |
| 39 | Scopes []string |
| 40 | // RequiredScopes holds a list of scopes which are required |
| 41 | // by the scheme. It is a subset of Scopes field. |
| 42 | RequiredScopes []string |
| 43 | } |
| 44 | |
| 45 | // BearerScheme represents an HTTP Bearer security scheme. |
| 46 | // It consists of a raw bearer token which is used in authentication. |
nothing calls this directly
no outgoing calls
no test coverage detected