package
1.12.0-algorand.0
Repository: https://github.com/algorand/oapi-codegen.git
Documentation: pkg.go.dev
# Functions
NewSecurityProviderApiKey will attach a generic apiKey for a given name either to a cookie, header or as a query parameter.
NewSecurityProviderBasicAuth provides a SecurityProvider, which can solve the BasicAuth challenge for api-calls.
NewSecurityProviderBearerToken provides a SecurityProvider, which can solve the Bearer Auth challende for api-calls.
# Constants
ErrSecurityProviderApiKeyInvalidIn indicates a usage of an invalid In.
# Structs
SecurityProviderApiKey will attach an apiKey either to a cookie, header or query.
SecurityProviderBasicAuth sends a base64-encoded combination of username, password along with a request.
SecurityProviderBearerToken sends a token as part of an Authorization: Bearer header along with a request.
# Type aliases
SecurityProviderError defines error values of a security provider.