Documentation ¶
Index ¶
Constants ¶
View Source
const ( // BasicAuthorization scheme. BasicAuthorization = "Basic" // BearerAuthorization scheme. BearerAuthorization = "Bearer" )
Variables ¶
View Source
var ( // AllAuthorizations supported by the header. AllAuthorizations = []string{BasicAuthorization, BearerAuthorization} // ErrInvalidAuthorization header. ErrInvalidAuthorization = errors.New("authorization is invalid") // ErrNotSupportedScheme for http. ErrNotSupportedAuthorization = errors.New("authorization is not supported") )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.