Help us shape the future of Go! Take the 2026 Go Developer Survey

modules/

directory
v0.0.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2026 License: Apache-2.0, MIT

Directories

Path Synopsis
admin
apiaccess
Package apiaccess manages machine authorization: API definitions with scopes and client grants.
Package apiaccess manages machine authorization: API definitions with scopes and client grants.
apikey
Package apikey issues machine credentials sent via the X-API-KEY header, with expiry and last-used tracking.
Package apikey issues machine credentials sent via the X-API-KEY header, with expiry and last-used tracking.
appconfig
Package appconfig serves public and admin configuration endpoints.
Package appconfig serves public and admin configuration endpoints.
auditlog
Package auditlog captures domain events and exposes them via HTTP.
Package auditlog captures domain events and exposes them via HTTP.
customclaim
Package customclaim manages per-user and per-group key/value claims injected into OIDC tokens.
Package customclaim manages per-user and per-group key/value claims injected into OIDC tokens.
Package federation is the optional identity provider surface for other systems (OIDC/OAuth 2.0, SCIM, discovery).
Package federation is the optional identity provider surface for other systems (OIDC/OAuth 2.0, SCIM, discovery).
discovery
Package discovery serves RFC 8615 endpoints: /.well-known/openid-configuration and /.well-known/jwks.json.
Package discovery serves RFC 8615 endpoints: /.well-known/openid-configuration and /.well-known/jwks.json.
jwks
Package jwks owns signing key material: generation, encrypted storage, rotation with overlap, and the JWKS key provider consumed by token issuance and the discovery endpoints.
Package jwks owns signing key material: generation, encrypted storage, rotation with overlap, and the JWKS key provider consumed by token issuance and the discovery endpoints.
oidc
Package oidc is the OpenID Connect / OAuth 2.0 provider surface: /authorize + PAR (root router), /api/oidc/token, userinfo, introspect, revoke, end_session.
Package oidc is the OpenID Connect / OAuth 2.0 provider surface: /authorize + PAR (root router), /api/oidc/token, userinfo, introspect, revoke, end_session.
scimsync
Package scimsync provisions users and groups to a remote SCIM server.
Package scimsync provisions users and groups to a remote SCIM server.
Package identity owns internal authn/authz: user accounts plus the features wired at the composition root.
Package identity owns internal authn/authz: user accounts plus the features wired at the composition root.
account
Package account covers profile management, credential lifecycle, and account state.
Package account covers profile management, credential lifecycle, and account state.
devicelogin
Package devicelogin implements the QR / cross-device sign-in flow: an anonymous device parks a short-lived request keyed by a short user code; a signed-in user approves or denies it; the waiting device long-polls the exchange until approved.
Package devicelogin implements the QR / cross-device sign-in flow: an anonymous device parks a short-lived request keyed by a short user code; a signed-in user approves or denies it; the waiting device long-polls the exchange until approved.
emailverification
Package emailverification verifies a user's email address via a single-use token (auth_tokens, purpose = email_verification).
Package emailverification verifies a user's email address via a single-use token (auth_tokens, purpose = email_verification).
onetimeaccess
Package onetimeaccess issues single-use sign-in tokens delivered by email: admins mint them per user; unauthenticated users may request one for their own address when the app policy allows.
Package onetimeaccess issues single-use sign-in tokens delivered by email: admins mint them per user; unauthenticated users may request one for their own address when the app policy allows.
password
Package password owns credential hashing and verification: one argon2id/scrypt hash per user (PHC format via pkg/crypto), plus the identity lookup used by the sign-in flow.
Package password owns credential hashing and verification: one argon2id/scrypt hash per user (PHC format via pkg/crypto), plus the identity lookup used by the sign-in flow.
session
Package session manages sign-in sessions: issue (cookie-backed opaque tokens), validate (sliding expiry), list, and revoke.
Package session manages sign-in sessions: issue (cookie-backed opaque tokens), validate (sliding expiry), list, and revoke.
signup
Package signup implements application-based self-service sign-up flows (create + approve) with rate-limited endpoints.
Package signup implements application-based self-service sign-up flows (create + approve) with rate-limited endpoints.
token
Package token owns the shared one-shot token store (public.auth_tokens): rows keyed by (user_id, purpose), SHA-256 hash at rest, single-use consumption with an expiry check.
Package token owns the shared one-shot token store (public.auth_tokens): rows keyed by (user_id, purpose), SHA-256 hash at rest, single-use consumption with an expiry check.
user
Package user is the mandatory accounts core: user entities, their CRUD surface, and persistence.
Package user is the mandatory accounts core: user entities, their CRUD surface, and persistence.
usergroup
Package usergroup groups users so OIDC client access can be granted in bulk.
Package usergroup groups users so OIDC client access can be granted in bulk.
webauthn
Package webauthn implements passkey sign-in: registration and assertion ceremonies via go-webauthn, credential storage, and the admin credential CRUD.
Package webauthn implements passkey sign-in: registration and assertion ceremonies via go-webauthn, credential storage, and the admin credential CRUD.
Package webhook registers outbound endpoints, fans application events out to the subscribers of each event name, and records every delivery attempt.
Package webhook registers outbound endpoints, fans application events out to the subscribers of each event name, and records every delivery attempt.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL