Directories
¶
| Path | Synopsis |
|---|---|
|
oauth/server/accesstokens
Package accesstokens is the public API for access-token persistence.
|
Package accesstokens is the public API for access-token persistence. |
|
oauth/server/authcodes
Package authcodes is the public API for authorization-code persistence.
|
Package authcodes is the public API for authorization-code persistence. |
|
oauth/server/consent
Package consent persists consent challenges and verifiers.
|
Package consent persists consent challenges and verifiers. |
|
oauth/server/internal/csrf
Package csrf provides the CSRF cookie and token helpers shared by the OAuth login and consent flows.
|
Package csrf provides the CSRF cookie and token helpers shared by the OAuth login and consent flows. |
|
oauth/server/login
Package login persists login challenges and verifiers.
|
Package login persists login challenges and verifiers. |
|
oauth/server/oidc
Package oidc is the public API for OpenID Connect session persistence.
|
Package oidc is the public API for OpenID Connect session persistence. |
|
oauth/server/pkce
Package pkce is the public API for PKCE-request persistence.
|
Package pkce is the public API for PKCE-request persistence. |
|
oauth/server/refreshtokens
Package refreshtokens is the public API for refresh-token persistence.
|
Package refreshtokens is the public API for refresh-token persistence. |
|
oauth/server/revocation
Package revocation implements the OAuth 2.0 token revocation endpoint per RFC 7009.
|
Package revocation implements the OAuth 2.0 token revocation endpoint per RFC 7009. |
|
oauth/server/revokedtokens
Package revokedtokens is the public API for the revoked-token denylist.
|
Package revokedtokens is the public API for the revoked-token denylist. |
|
cmd
|
|
|
auth
command
|
|
|
buildinfo
Package buildinfo holds version metadata baked into the binary at build time via linker -X flags (see .goreleaser.yml and scripts/build.sh).
|
Package buildinfo holds version metadata baked into the binary at build time via linker -X flags (see .goreleaser.yml and scripts/build.sh). |
|
data-access
command
|
|
|
migrate
command
Command migrate applies pending database migrations and exits.
|
Command migrate applies pending database migrations and exits. |
|
Package dataaccess wires the Lookup and Update gRPC services into a single process listening on one port.
|
Package dataaccess wires the Lookup and Update gRPC services into a single process listening on one port. |
|
internal/dbmetrics
Package dbmetrics defines the data-access-wide repository-operation- duration instrument (used by store.go/resolver.go): a metric name plus a thin re-export of pkg/telemetry/db's generic OperationRecorder.
|
Package dbmetrics defines the data-access-wide repository-operation- duration instrument (used by store.go/resolver.go): a metric name plus a thin re-export of pkg/telemetry/db's generic OperationRecorder. |
|
internal/relationships/roles
Package roles parses the glaz role definitions vendored under vendored/ (synced by vendir), the single source of truth for role ids so they are not hardcoded here.
|
Package roles parses the glaz role definitions vendored under vendored/ (synced by vendir), the single source of truth for role ids so they are not hardcoded here. |
|
internal
|
|
|
prototest
Package prototest provides shared builders for valid relationships proto messages, used by the buf.validate rule tests co-located with each proto package (relationships / lookup / update).
|
Package prototest provides shared builders for valid relationships proto messages, used by the buf.validate rule tests co-located with each proto package (relationships / lookup / update). |
|
testutil/storagefake
Package storagefake provides a configurable double for storage.Database, storage.Transaction, and storage.DBTX, for tests that exercise real service/server composition or drive sqlc-generated queries without a live DB connection.
|
Package storagefake provides a configurable double for storage.Database, storage.Transaction, and storage.DBTX, for tests that exercise real service/server composition or drive sqlc-generated queries without a live DB connection. |
|
validation
Package validation builds the protovalidate validator and the gRPC interceptor that enforces the buf.validate rules declared in the .proto files.
|
Package validation builds the protovalidate validator and the gRPC interceptor that enforces the buf.validate rules declared in the .proto files. |
|
pkg
|
|
|
telemetry
Package telemetry provides the common, service-agnostic metrics setup shared by every Go service in this repo: one Prometheus registry (via LabKit v2), an HTTP surface to expose it, and generic helpers for timing an operation into a histogram.
|
Package telemetry provides the common, service-agnostic metrics setup shared by every Go service in this repo: one Prometheus registry (via LabKit v2), an HTTP surface to expose it, and generic helpers for timing an operation into a histogram. |
|
telemetry/grpc
Package grpctelemetry provides generic, Prometheus-native gRPC server metrics for any service in this repo.
|
Package grpctelemetry provides generic, Prometheus-native gRPC server metrics for any service in this repo. |
|
serviceauth
module
|
|
|
tokenauth
module
|
|
|
userauth
module
|
|
|
proto
|
|
|
smoketest
|
|
|
bootstrap-ancestor-grant
command
Command bootstrap-ancestor-grant is a manual admin tool, run once per environment, that grants the smoke-test service account its relationships-admin role for smoketest/dataaccess.
|
Command bootstrap-ancestor-grant is a manual admin tool, run once per environment, that grants the smoke-test service account its relationships-admin role for smoketest/dataaccess. |
|
internal/dataaccessclient
Package dataaccessclient holds client-side plumbing shared by the iam-data-access smoke test and its bootstrap-ancestor-grant tool.
|
Package dataaccessclient holds client-side plumbing shared by the iam-data-access smoke test and its bootstrap-ancestor-grant tool. |
Click to show internal directories.
Click to hide internal directories.