Documentation ¶
Overview ¶
Package token enables setting and reading authentication token contexts
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Token ¶
type Token string
Token is the concrete type which represents kolide session tokens
func FromContext ¶
FromContext extracts the Authorization Bearer token if present.
func FromHTTPRequest ¶
FromHTTPRequest extracts an Authorization from an HTTP header if present.
Click to show internal directories.
Click to hide internal directories.