Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
docsgen
command
Command docsgen generates the reference-data JSON that the docs site renders, so those tables can never drift from the implementation.
|
Command docsgen generates the reference-data JSON that the docs site renders, so those tables can never drift from the implementation. |
|
identity
command
Command identity is the identity service container entry point.
|
Command identity is the identity service container entry point. |
|
examples
|
|
|
embedded
command
Command embedded shows how a host program mounts identity into its own Go server instead of running the dedicated container.
|
Command embedded shows how a host program mounts identity into its own Go server instead of running the dedicated container. |
|
gen
|
|
|
Package identityserver is identity's embeddable public API.
|
Package identityserver is identity's embeddable public API. |
|
internal
|
|
|
app
Package app builds the identity service HTTP handler from injected dependencies.
|
Package app builds the identity service HTTP handler from injected dependencies. |
|
config
Package config loads the identity service configuration from environment variables with the GATEWAY_ prefix.
|
Package config loads the identity service configuration from environment variables with the GATEWAY_ prefix. |
|
connect
Package connect provides the Connect-Go RPC handler layer for the identity service.
|
Package connect provides the Connect-Go RPC handler layer for the identity service. |
|
graph
Package graph defines the in-process value types exchanged between identity's services and the relational repository drivers.
|
Package graph defines the in-process value types exchanged between identity's services and the relational repository drivers. |
|
observability
Package observability wires OpenTelemetry traces for the identity server.
|
Package observability wires OpenTelemetry traces for the identity server. |
|
repo
Package repo selects between concrete service.Repository / service.DB drivers (postgres, sqlite, memory) for the production binary's wiring code.
|
Package repo selects between concrete service.Repository / service.DB drivers (postgres, sqlite, memory) for the production binary's wiring code. |
|
repo/conformance
Package conformance is a driver-agnostic test suite for service.Repository implementations.
|
Package conformance is a driver-agnostic test suite for service.Repository implementations. |
|
repo/memory
Package memory is the in-process Repository driver.
|
Package memory is the in-process Repository driver. |
|
repo/postgres
Package postgres provides a Postgres-backed implementation of service.Repository for the identity service.
|
Package postgres provides a Postgres-backed implementation of service.Repository for the identity service. |
|
repo/sqlite
Package sqlite is the pure-Go SQLite Repository driver — the lightweight / embedded backend tier (single file or :memory:), sitting between Postgres (production, multi-node) and memory (tests).
|
Package sqlite is the pure-Go SQLite Repository driver — the lightweight / embedded backend tier (single file or :memory:), sitting between Postgres (production, multi-node) and memory (tests). |
|
service
Package service implements the business logic for the identity service.
|
Package service implements the business logic for the identity service. |
|
pkg
|
|
|
agegate
Package agegate defines the pluggable age-determination provider used to support COPPA-style age-gating at signup.
|
Package agegate defines the pluggable age-determination provider used to support COPPA-style age-gating at signup. |
|
audit
Package audit provides best-effort audit event logging to the datastore.
|
Package audit provides best-effort audit event logging to the datastore. |
|
captcha
Package captcha defines the pluggable CAPTCHA-verification provider interface and its in-tree implementations (Cloudflare Turnstile and Google reCAPTCHA v3) plus a no-op verifier for deployments that leave CAPTCHA disabled.
|
Package captcha defines the pluggable CAPTCHA-verification provider interface and its in-tree implementations (Cloudflare Turnstile and Google reCAPTCHA v3) plus a no-op verifier for deployments that leave CAPTCHA disabled. |
|
email
Package email provides a provider-agnostic email transport layer.
|
Package email provides a provider-agnostic email transport layer. |
|
events
Package events is the pluggable user-lifecycle eventing primitive.
|
Package events is the pluggable user-lifecycle eventing primitive. |
|
idv
Package idv defines the pluggable identity-verification provider interface.
|
Package idv defines the pluggable identity-verification provider interface. |
|
jwt
Package jwt provides RS256 JWT signing, verification, and JWKS publishing.
|
Package jwt provides RS256 JWT signing, verification, and JWKS publishing. |
|
jwt/file
Package file implements the default file-backed jwt.Signer for the identity service.
|
Package file implements the default file-backed jwt.Signer for the identity service. |
|
jwt/jwttest
Package jwttest provides an in-process jwt.Signer for tests.
|
Package jwttest provides an in-process jwt.Signer for tests. |
|
jwt/kmsaws
Package kmsaws implements a jwt.Signer that delegates the signature operation to AWS KMS.
|
Package kmsaws implements a jwt.Signer that delegates the signature operation to AWS KMS. |
|
oauth
Package oauth implements provider-side OAuth code-exchange flows for authenticating end users into the identity service.
|
Package oauth implements provider-side OAuth code-exchange flows for authenticating end users into the identity service. |
|
passkeys
Package passkeys provides WebAuthn/FIDO2 passkey registration and authentication using the go-webauthn library.
|
Package passkeys provides WebAuthn/FIDO2 passkey registration and authentication using the go-webauthn library. |
|
passwords
Package passwords provides bcrypt password hashing and strength validation.
|
Package passwords provides bcrypt password hashing and strength validation. |
|
samlidp
Package samlidp implements the SAML 2.0 Identity Provider (IdP) core: IdP-metadata generation, AuthnRequest parsing, and the issuance of XML-DSig-signed SAML assertions/responses for a registered Service Provider (SP).
|
Package samlidp implements the SAML 2.0 Identity Provider (IdP) core: IdP-metadata generation, AuthnRequest parsing, and the issuance of XML-DSig-signed SAML assertions/responses for a registered Service Provider (SP). |
|
scim
Package scim implements the inbound (server) side of SCIM 2.0 (RFC 7643 schema, RFC 7644 protocol) for the /scim/v2 surface: an external IdP (Okta, Entra ID, Google Workspace) lifecycle-manages users in a project by POST/GET/PUT/PATCH/DELETE-ing the /Users resource and the discovery endpoints (/ServiceProviderConfig, /Schemas, /ResourceTypes).
|
Package scim implements the inbound (server) side of SCIM 2.0 (RFC 7643 schema, RFC 7644 protocol) for the /scim/v2 surface: an external IdP (Okta, Entra ID, Google Workspace) lifecycle-manages users in a project by POST/GET/PUT/PATCH/DELETE-ing the /Users resource and the discovery endpoints (/ServiceProviderConfig, /Schemas, /ResourceTypes). |
|
sms
Package sms is the abstraction over an SMS backend, mirroring pkg/email.
|
Package sms is the abstraction over an SMS backend, mirroring pkg/email. |
|
totp
Package totp provides TOTP (RFC 6238) utilities for two-factor authentication.
|
Package totp provides TOTP (RFC 6238) utilities for two-factor authentication. |
Click to show internal directories.
Click to hide internal directories.