Documentation ¶
Overview ¶
Package httpauthz contains helper functions for parsing the 'Authorization' header in HTTP requests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseBearerToken ¶
ParseBearerToken parses a bearer token's value from a HTTP Authorization header. If the prefix of the authorization header value is 'Bearer ' (case ignored) the rest of the value that follows the prefix is returned, otherwise an empty string is returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.