Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Authenticator ¶
func Chain ¶
func Chain(as ...Authenticator) Authenticator
type Authorizer ¶
type PeerCred ¶
PeerCred holds Unix peer credentials obtained via SO_PEERCRED. Using a package-defined type avoids a direct dependency on syscall.Ucred, which is Linux-specific.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package audit emits AuthEvent payloads to the event store.
|
Package audit emits AuthEvent payloads to the event store. |
|
Package migrations embeds auth SQL migrations for goose.
|
Package migrations embeds auth SQL migrations for goose. |
|
Package sessions stores cookie-based browser sessions with HMAC-signed access cookies and rotating refresh cookies.
|
Package sessions stores cookie-based browser sessions with HMAC-signed access cookies and rotating refresh cookies. |
|
Package throttle implements a soft per-IP × per-method failed-auth throttle.
|
Package throttle implements a soft per-IP × per-method failed-auth throttle. |
Click to show internal directories.
Click to hide internal directories.