Documentation ¶
Index ¶
Constants ¶
View Source
const ( // APIKeyInHeader sets auth content in header APIKeyInHeader apiKeyType = "header" // APIKeyInQuery sets auth content in url query APIKeyInQuery apiKeyType = "query" )
Variables ¶
This section is empty.
Functions ¶
func NewAPIKeyAuthorizer ¶
NewAPIKeyAuthorizer returns a apikey authorizer
func NewAuthorizer ¶
func NewAuthorizer(username, password string, insecure bool) lib.Authorizer
NewAuthorizer creates an authorizer instance.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.