Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
api
command
Command api is the entry point for the nodate-flow auth API server.
|
Command api is the entry point for the nodate-flow auth API server. |
|
dump-openapi
command
Command dump-openapi builds the auth-api HTTP router with stub dependencies and writes the merged OpenAPI 3.1 document to disk so the TypeScript SDK codegen pipeline can consume it without running a live server.
|
Command dump-openapi builds the auth-api HTTP router with stub dependencies and writes the merged OpenAPI 3.1 document to disk so the TypeScript SDK codegen pipeline can consume it without running a live server. |
|
healthcheck
command
Command healthcheck is a minimal HTTP probe for distroless containers.
|
Command healthcheck is a minimal HTTP probe for distroless containers. |
|
internal
|
|
|
audit
Package audit provides a thin helper for appending workspace-scoped audit log entries via the sqlc-generated AppendAuditLog query.
|
Package audit provides a thin helper for appending workspace-scoped audit log entries via the sqlc-generated AppendAuditLog query. |
|
auth
Package auth provides a GitHub OAuth2 client for login.
|
Package auth provides a GitHub OAuth2 client for login. |
|
auth/sessadapter
Package sessadapter bridges auth-api's sqlc-generated session queries to the shared sessionstore.SessionQueries interface.
|
Package sessadapter bridges auth-api's sqlc-generated session queries to the shared sessionstore.SessionQueries interface. |
|
config
Package config loads runtime configuration from NF_* environment variables.
|
Package config loads runtime configuration from NF_* environment variables. |
|
db/types
Package types re-exports the shared PublicID type so that sqlc-generated code continues to compile without changes to sqlc.yaml overrides.
|
Package types re-exports the shared PublicID type so that sqlc-generated code continues to compile without changes to sqlc.yaml overrides. |
|
http/errormodel
Package errormodel installs the request-validation error model the service answers with.
|
Package errormodel installs the request-validation error model the service answers with. |
|
http/handlers/admin
Package admin contains Huma operation handlers for the instance administration panel: user management, workspace management, session oversight, audit log viewing, instance admin grants, and settings.
|
Package admin contains Huma operation handlers for the instance administration panel: user management, workspace management, session oversight, audit log viewing, instance admin grants, and settings. |
|
http/handlers/auth
Change-password handler for /settings/security.
|
Change-password handler for /settings/security. |
|
http/handlers/handlerutil
Package handlerutil — duplicate-entry detection helper for auth-api handlers.
|
Package handlerutil — duplicate-entry detection helper for auth-api handlers. |
|
http/handlers/integrations
Package integrations contains Huma handlers for the personal integrations area under /me/integrations and the public /oauth/callback/{provider} endpoint.
|
Package integrations contains Huma handlers for the personal integrations area under /me/integrations and the public /oauth/callback/{provider} endpoint. |
|
http/handlers/workspace
Package workspace contains Huma operation handlers for the /workspaces, /workspaces/{wsId}/members, and invite endpoints.
|
Package workspace contains Huma operation handlers for the /workspaces, /workspaces/{wsId}/members, and invite endpoints. |
|
http/middleware
Package middleware contains chi-compatible HTTP middlewares for the auth-api service, including authentication and ACL (access control list) enforcement.
|
Package middleware contains chi-compatible HTTP middlewares for the auth-api service, including authentication and ACL (access control list) enforcement. |
|
http/router
Package router assembles the auth-api HTTP router.
|
Package router assembles the auth-api HTTP router. |
|
integrations
Package integrations implements the personal OAuth flow for per-user GitHub / Slack / Google Calendar connections used by /settings/integrations.
|
Package integrations implements the personal OAuth flow for per-user GitHub / Slack / Google Calendar connections used by /settings/integrations. |
|
log
Package log holds structured-logging helpers for auth-api.
|
Package log holds structured-logging helpers for auth-api. |
|
obs
Package obs holds the auth-api observability facilities: the HTTP middleware that feeds the Prometheus collectors and the handler that exposes them.
|
Package obs holds the auth-api observability facilities: the HTTP middleware that feeds the Prometheus collectors and the handler that exposes them. |
|
storage
Package storage wraps an S3-compatible object store (MinIO / AWS S3) for the auth-api avatar-upload endpoints.
|
Package storage wraps an S3-compatible object store (MinIO / AWS S3) for the auth-api avatar-upload endpoints. |
|
teardown
Package teardown holds the shared destructive-delete pipelines used by the workspace owner self-delete handler (DELETE /workspaces/{wsId}) and the admin force-delete handlers (DELETE /admin/workspaces/{wsId}, DELETE /admin/users/{userId}).
|
Package teardown holds the shared destructive-delete pipelines used by the workspace owner self-delete handler (DELETE /workspaces/{wsId}) and the admin force-delete handlers (DELETE /admin/workspaces/{wsId}, DELETE /admin/users/{userId}). |
|
Package testutil provides a test-only helper for constructing an auth-api HTTP handler.
|
Package testutil provides a test-only helper for constructing an auth-api HTTP handler. |
Click to show internal directories.
Click to hide internal directories.