Versions in this module Expand all Collapse all v1 v1.3.4 Jan 2, 2020 Changes in this version + const ErrSecurityProviderApiKeyInvalidIn + type SecurityProviderApiKey struct + func NewSecurityProviderApiKey(in, name, apiKey string) (*SecurityProviderApiKey, error) + func (s *SecurityProviderApiKey) Intercept(req *http.Request, ctx context.Context) error + type SecurityProviderBasicAuth struct + func NewSecurityProviderBasicAuth(username, password string) (*SecurityProviderBasicAuth, error) + func (s *SecurityProviderBasicAuth) Intercept(req *http.Request, ctx context.Context) error + type SecurityProviderBearerToken struct + func NewSecurityProviderBearerToken(token string) (*SecurityProviderBearerToken, error) + func (s *SecurityProviderBearerToken) Intercept(req *http.Request, ctx context.Context) error + type SecurityProviderError string + func (e SecurityProviderError) Error() string