BasicScheme represents the BasicAuth security scheme. It consists of a simple username and password.
| 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. |
nothing calls this directly
no outgoing calls
no test coverage detected