Documentation
¶
Overview ¶
Package httpauth contains a common function for extracting credentials from an HTTP request.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Token ¶
Token returns the bearer authorization header or the access_token HTTP parameter associated with the request. If an authorization query parameter is used, the request will be updated to delete that parameter. This function will return an empty string if no authorization token is associated with the request.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.