Documentation
¶
Overview ¶
Package header provides a request header based implementation of a session loader.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store implements the load session store interface using http authorization headers.
func NewStore ¶
func NewStore(enc encoding.Unmarshaler, headerType string) *Store
NewStore returns a new header store for loading sessions from authorization header as defined in as defined in rfc2617
NOTA BENE: While most servers do not log Authorization headers by default, you should ensure no other services are logging or leaking your auth headers.
Click to show internal directories.
Click to hide internal directories.