shomei-core: Transport-agnostic domain: types, commands, events, errors, and effects
shomei-core is the heart of the Shōmei authentication toolkit: the domain model, commands, events, and errors, together with the effectful effect interfaces (stores, clock, token generator, signing key) that every workflow is written against. It has no database, HTTP, or JWT dependency, so the account, session, OAuth, MFA, passkey, and authorization workflows can be run against the bundled in-memory interpreter in a test suite and against PostgreSQL in production without changing a line. All other Shōmei packages depend on it.
Modules
[Index] [Quick Jump]
- Shomei
- Account
- Admin
- Credential
- Lifecycle
- LoginId
- Notification
- OneTimeToken
- Password
- PasswordReset
- User
- Verification
- Audit
- Authorization
- Shomei.Config
- Delegation
- Shomei.Error
- Shomei.Id
- Mfa
- OAuth
- AuthorizationCode
- Authorize
- Client
- IdToken
- Revocation
- TokenExchange
- TokenGrant
- Passkey
- Shomei.Prelude
- ServiceAccount
- Session
- Authentication
- Shomei.Session.Command
- Shomei.Session.Domain
- LoginAttempt
- RefreshToken
- Shomei.Session.Store
- Token
- UnitOfWork
- Shomei.Session.Workflow
- SigningKey
- Test
- Time
- Account
Downloads
- shomei-core-0.2.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
| Versions [RSS] | 0.2.0.0 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | aeson (>=2.1 && <2.3), base (>=4.18 && <5), base64 (>=1.0 && <1.1), bytestring (>=0.11 && <0.13), containers (>=0.6 && <0.9), crypton (>=1.1 && <1.2), effectful (>=2.5 && <2.8), effectful-core (>=2.5 && <2.8), file-embed (>=0.0.15 && <0.0.17), generic-lens (>=2.2 && <2.4), http-api-data (>=0.6 && <0.8), lens (>=5.2 && <5.4), mmzk-typeid (>=0.7 && <0.8), ram (>=0.22 && <0.23), text (>=2.0 && <2.2), time (>=1.12 && <1.15), uuid (>=1.3 && <1.4) [details] |
| Tested with | ghc ==9.12.4 |
| License | MIT |
| Copyright | 2026 Nadeem Bitar |
| Author | Nadeem Bitar |
| Maintainer | nadeem@gmail.com |
| Uploaded | by shinzui at 2026-08-28T04:37:00Z |
| Category | Web, Security |
| Home page | https://github.com/shinzui/shomei |
| Bug tracker | https://github.com/shinzui/shomei/issues |
| Source repo | head: git clone https://github.com/shinzui/shomei.git |
| Distributions | |
| Reverse Dependencies | 3 direct, 0 indirect [details] |
| Downloads | 0 total (0 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs uploaded by user Build status unknown [no reports yet] |