Directories
¶
| Path | Synopsis |
|---|---|
|
Package account holds what every account-creating and sign-in flow of the identity module shares: creating an account with its identities, the registration event and audit, the login audit, the account state check and the session a sign-in ends with.
|
Package account holds what every account-creating and sign-in flow of the identity module shares: creating an account with its identities, the registration event and audit, the login audit, the account state check and the session a sign-in ends with. |
|
Package adminuser implements the admin-side account management subdomain of the identity module: user CRUD, auth methods, devices and login logs.
|
Package adminuser implements the admin-side account management subdomain of the identity module: user CRUD, auth methods, devices and login logs. |
|
Package authmethodadmin implements the admin-side authentication-method subdomain of the identity module: method configuration, sender platforms and test sends.
|
Package authmethodadmin implements the admin-side authentication-method subdomain of the identity module: method configuration, sender platforms and test sends. |
|
Package authn implements the authentication subdomain of the identity module: account existence checks, password, code and device sign-in, registration, password resets and, through its oauth subpackage, OAuth sign-in.
|
Package authn implements the authentication subdomain of the identity module: account existence checks, password, code and device sign-in, registration, password resets and, through its oauth subpackage, OAuth sign-in. |
|
oauth
Package oauth implements OAuth sign-in: the authorization URL, the callback that signs an existing account in or registers a new one, and Apple's form-post callback.
|
Package oauth implements OAuth sign-in: the authorization URL, the callback that signs an existing account in or registers a new one, and Apple's form-post callback. |
|
registerpolicy
Package registerpolicy enforces the administrator-configured account policies shared by every authentication and registration path.
|
Package registerpolicy enforces the administrator-configured account policies shared by every authentication and registration path. |
|
Package devicestate owns consistent device removal shared by user and admin entry points.
|
Package devicestate owns consistent device removal shared by user and admin entry points. |
|
Package guestaccount owns the account-creation stage of paid guest orders.
|
Package guestaccount owns the account-creation stage of paid guest orders. |
|
Package identitytest runs the identity module's real repositories over an in-memory SQLite database and miniredis, for behaviour tests that check what a flow wrote rather than which dependency it called.
|
Package identitytest runs the identity module's real repositories over an in-memory SQLite database and miniredis, for behaviour tests that check what a flow wrote rather than which dependency it called. |
|
Package oauthflow runs the provider round trip OAuth sign-in and account binding share: the authorization URL with its state, and the callback that redeems the state and turns into the identity the provider vouches for.
|
Package oauthflow runs the provider round trip OAuth sign-in and account binding share: the authorization URL with its state, and the callback that redeems the state and turns into the identity the provider vouches for. |
|
Package oauthprovider defines the OAuth sign-in methods: a Provider builds the authorization URL of one method and turns its callback into the identity the provider vouches for.
|
Package oauthprovider defines the OAuth sign-in methods: a Provider builds the authorization URL of one method and turns its callback into the identity the provider vouches for. |
|
apple
Package apple is the Sign in with Apple client of the Apple sign-in method: it signs the client secret from the configured private key and exchanges authorization codes for the identity token.
|
Package apple is the Sign in with Apple client of the Apple sign-in method: it signs the client secret from the configured private key and exchanges authorization codes for the identity token. |
|
facebook
Package facebook is the Graph API client of the Facebook sign-in method: the OAuth endpoints and the profile of the signed-in user.
|
Package facebook is the Graph API client of the Facebook sign-in method: the OAuth endpoints and the profile of the signed-in user. |
|
github
Package github is the GitHub API client of the GitHub sign-in method: the profile of the signed-in user and their verified email address.
|
Package github is the GitHub API client of the GitHub sign-in method: the profile of the signed-in user and their verified email address. |
|
google
Package google is the Google client of the Google sign-in method: the OAuth configuration and the profile of the signed-in user.
|
Package google is the Google client of the Google sign-in method: the OAuth configuration and the profile of the signed-in user. |
|
telegram
Package telegram verifies the signed result of the Telegram Login Widget for the Telegram sign-in method and builds the widget's authorization URL.
|
Package telegram verifies the signed result of the Telegram Login Widget for the Telegram sign-in method and builds the widget's authorization URL. |
|
Package oauthstate owns the OAuth state round trip: the state issued with an authorization URL, stored with the redirect and the purpose it belongs to, and redeemed once by the callback of that purpose.
|
Package oauthstate owns the OAuth state round trip: the state issued with an authorization URL, stored with the redirect and the purpose it belongs to, and redeemed once by the callback of that purpose. |
|
Package profile implements the self-service identity subdomain of the identity module: account info, credentials, third-party bindings, devices and notification preferences.
|
Package profile implements the self-service identity subdomain of the identity module: account info, credentials, third-party bindings, devices and notification preferences. |
|
Package repo holds the identity module's repository implementations: the user account rows, auth methods, devices and the cross-domain cache facade (ADR-001 step-6 preparation).
|
Package repo holds the identity module's repository implementations: the user account rows, auth methods, devices and the cross-domain cache facade (ADR-001 step-6 preparation). |
|
Package startup implements the identity module's part of the server start: seeding the first administrator of a fresh database, finding the administrators still signing in with a published default password, and the check and data fix-up that run once the schema is current.
|
Package startup implements the identity module's part of the server start: seeding the first administrator of a fresh database, finding the administrators still signing in with a published default password, and the check and data fix-up that run once the schema is current. |
|
Package verification stores and checks the email and SMS verification codes of the identity module in Redis: the code of one identifier and purpose, and the guesses made against it.
|
Package verification stores and checks the email and SMS verification codes of the identity module in Redis: the code of one identifier and purpose, and the guesses made against it. |
|
Package verifycode implements the verification-code subdomain of the identity module: issuing and pre-checking the email and SMS codes that gate registration and account mutations.
|
Package verifycode implements the verification-code subdomain of the identity module: issuing and pre-checking the email and SMS codes that gate registration and account mutations. |
Click to show internal directories.
Click to hide internal directories.