Directories
¶
| Path | Synopsis |
|---|---|
|
Package auth - Admin authentication service for admin users
|
Package auth - Admin authentication service for admin users |
|
Package clients is the ESP User OAuth-client service over espuser-oauth-clients: create, list, patch, delete, enforcing the client write-invariants.
|
Package clients is the ESP User OAuth-client service over espuser-oauth-clients: create, list, patch, delete, enforcing the client write-invariants. |
|
db
|
|
|
admin_config_db
Table espuser-admin-config (PK config_name, SK subtype): admin-selected key-value config.
|
Table espuser-admin-config (PK config_name, SK subtype): admin-selected key-value config. |
|
auth_flows_db
Table espuser-auth-flows (PK flow_id): the TTL'd browser authorization-code flow record, from /oauth2/authorize through OTP login to the issued code (resolved by the by-code GSI at token exchange).
|
Table espuser-auth-flows (PK flow_id): the TTL'd browser authorization-code flow record, from /oauth2/authorize through OTP login to the issued code (resolved by the by-code GSI at token exchange). |
|
identity_providers_db
Table espuser-identity-providers: the upstream providers the federation broker may delegate to.
|
Table espuser-identity-providers: the upstream providers the federation broker may delegate to. |
|
oauth_clients_db
Table espuser-oauth-clients (PK client_id, no SK): the registered OAuth/OIDC client registry.
|
Table espuser-oauth-clients (PK client_id, no SK): the registered OAuth/OIDC client registry. |
|
refresh_tokens_db
Table espuser-refresh-tokens (PK user_id, SK client_id#family_id): one row per login family holding the current rotation counter.
|
Table espuser-refresh-tokens (PK user_id, SK client_id#family_id): one row per login family holding the current rotation counter. |
|
handlers
|
|
|
authorize
command
GET /oauth2/authorize (validate -> LOGIN flow record -> 302 to the login page with a flow_id cookie) and the served login UI.
|
GET /oauth2/authorize (validate -> LOGIN flow record -> 302 to the login page with a flow_id cookie) and the served login UI. |
|
clients
command
|
|
|
espuser_admin_creds
command
|
|
|
publish_discovery
command
Command publish_discovery builds the static OIDC/OAuth discovery documents and uploads them to S3, once, at deploy.
|
Command publish_discovery builds the static OIDC/OAuth discovery documents and uploads them to S3, once, at deploy. |
|
revoke
command
|
|
|
token
command
|
|
|
user_auth
command
Command user_auth serves the native /v1/user/auth/* password APIs.
|
Command user_auth serves the native /v1/user/auth/* password APIs. |
|
user_common
command
|
|
|
userinfo
command
|
|
|
Package idp runs the upstream leg of a brokered login, with ESP User as a confidential client of an upstream IdP. It is deliberately independent of the client's downstream leg — see the "why brokered, not pass-through" argument in espuser/docs/en/specs/federation.md.
|
Package idp runs the upstream leg of a brokered login, with ESP User as a confidential client of an upstream IdP. It is deliberately independent of the client's downstream leg — see the "why brokered, not pass-through" argument in espuser/docs/en/specs/federation.md. |
|
Package legacyauth serves the native /v1/user/auth/* password APIs.
|
Package legacyauth serves the native /v1/user/auth/* password APIs. |
|
Package refreshtoken is the ESP User refresh-token service: it owns the token lifecycle — mint a family on login, rotate-on-use with reuse=theft detection, and revoke — over the espuser-refresh-tokens store.
|
Package refreshtoken is the ESP User refresh-token service: it owns the token lifecycle — mint a family on login, rotate-on-use with reuse=theft detection, and revoke — over the espuser-refresh-tokens store. |
|
Package scope is the single source of truth for ESP User's OAuth/OIDC scope values and space-delimited membership tests (RFC 6749 §3.3).
|
Package scope is the single source of truth for ESP User's OAuth/OIDC scope values and space-delimited membership tests (RFC 6749 §3.3). |
|
Package sender resolves which SES identity the IdP sends mail from.
|
Package sender resolves which SES identity the IdP sends mail from. |
Click to show internal directories.
Click to hide internal directories.