Directories
¶
| Path | Synopsis |
|---|---|
|
adapters
|
|
|
memory
Package memory provides in-memory implementations of the auth domain repository ports, for tests and single-node development.
|
Package memory provides in-memory implementations of the auth domain repository ports, for tests and single-node development. |
|
pgstore
Package pgstore provides Postgres implementations of the auth domain repository ports, built on the stdlib database/sql.
|
Package pgstore provides Postgres implementations of the auth domain repository ports, built on the stdlib database/sql. |
|
sqlite
Package sqlite provides SQLite implementations of the auth domain repository ports, built on the stdlib database/sql and the pure-Go (cgo-free) driver modernc.org/sqlite — the same driver the other Klarlabs services use, so a product can vendor one SQLite stack across the stack.
|
Package sqlite provides SQLite implementations of the auth domain repository ports, built on the stdlib database/sql and the pure-Go (cgo-free) driver modernc.org/sqlite — the same driver the other Klarlabs services use, so a product can vendor one SQLite stack across the stack. |
|
webauthn
Package webauthn is the passkey adapter — it implements domain.PasskeyAuthenticator over github.com/go-webauthn/webauthn.
|
Package webauthn is the passkey adapter — it implements domain.PasskeyAuthenticator over github.com/go-webauthn/webauthn. |
|
Package domain is the auth bounded context.
|
Package domain is the auth bounded context. |
|
example
|
|
|
human
command
Command human is a minimal, self-contained walkthrough of the human auth flows: users, sessions (issue / validate / rotate / revoke), password hashing, TOTP enrollment + verification, and single-use magic links.
|
Command human is a minimal, self-contained walkthrough of the human auth flows: users, sessions (issue / validate / rotate / revoke), password hashing, TOTP enrollment + verification, and single-use magic links. |
|
workload
command
Command workload is a minimal, self-contained walkthrough of workload identity: issuing a scoped API key for an agent worker, validating it, authorizing a concrete action against its scope, rotating it, and revoking.
|
Command workload is a minimal, self-contained walkthrough of workload identity: issuing a scoped API key for an agent worker, validating it, authorizing a concrete action against its scope, rotating it, and revoking. |
|
Package middleware holds inbound HTTP adapters for the auth bounded context.
|
Package middleware holds inbound HTTP adapters for the auth bounded context. |
Click to show internal directories.
Click to hide internal directories.