Documentation
¶
Overview ¶
Package cookie provides a cookie-based login.AttemptStore. The attempt travels in a signed and encrypted cookie (gorilla/securecookie), so no server-side state is required — suitable for multi-instance deployments that share the same keys.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is a cookie-based login attempt store. Data is signed and encrypted via gorilla/securecookie, meeting the login.Attempt requirement of an authenticated client token.
Click to show internal directories.
Click to hide internal directories.