internal/credential
github.com/ensera-ai/taisce/internal/credential · 1 files · 270 lines · 9 tests · source
Package credential resolves what a caller presented into what they may reach.
It is a separate package from the HTTP surface because the answer it gives is a security decision and the surface is transport. It talks to the REGISTRY connection, never the memory one — the two database identities exist so that a memory query cannot read a key, and a package that held both pools would be the place that difference stopped mattering.
Where it sits
Imports: none in this repository
Imported by: cmd/taisce, internal/api
Files
| File | Lines | Declarations | What it is for |
|---|---|---|---|
| credential.go | 270 | 19 | Carries the package documentation. |
9 tests hold this package's behaviour; the list is named for what each one proves.