shomei-servant: Servant API, handlers, and auth combinators for Shōmei
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
The HTTP layer of the Shōmei authentication toolkit. Exposes ShomeiAPI as a NamedRoutes record covering signup, login, refresh, logout, email verification, password reset, MFA, passkeys, OAuth 2.0 and OpenID Connect, audit, and admin routes, together with the request/response DTOs, the handlers, and the Authenticated, RequireRole, RequireScope, and RequirePermission combinators for guarding your own routes. Mount it inside an existing Servant application, or serve it standalone with shomei-server. An OpenAPI 3.1 document can be generated from the same types.
Properties
| Versions | 0.1.0.0, 0.2.0.0 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | aeson (>=2.1 && <2.3), aeson-pretty (>=0.8 && <0.9), base (>=4.18 && <5), base64 (>=1.0 && <1.1), bytestring (>=0.11 && <0.13), containers (>=0.6 && <0.9), cookie (>=0.4 && <0.6), effectful (>=2.5 && <2.8), effectful-core (>=2.5 && <2.8), http-api-data (>=0.6 && <0.8), http-media (>=0.8 && <0.9), http-types (>=0.12 && <0.13), lens (>=5.2 && <5.4), mtl (>=2.3 && <2.4), network (>=3.1 && <3.3), openapi-hs (>=5.0 && <5.1), servant (>=0.20.3 && <0.21), servant-health (>=0.1 && <0.2), servant-openapi-hs (>=5.1 && <5.2), servant-server (>=0.20.3 && <0.21), shomei-core (>=0.1.0.0 && <0.2), shomei-servant (>=0.1.0.0 && <0.2), sop-core (>=0.5 && <0.6), text (>=2.0 && <2.2), time (>=1.12 && <1.15), transformers (>=0.6 && <0.7), uuid (>=1.3 && <1.4), wai (>=3.2 && <3.3) [details] |
| License | MIT |
| Copyright | 2026 Nadeem Bitar |
| Author | Nadeem Bitar |
| Maintainer | nadeem@gmail.com |
| 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 |
| Uploaded | by shinzui at 2026-08-25T04:54:16Z |
Modules
- Shomei
- Account
- Admin
- Shomei.Account.Admin.Api
- Shomei.Account.Api
- Shomei.Account.Dto
- Shomei.Account.Handler
- Shomei.Account.Result
- User
- Shomei.Account.User.Dto
- Admin
- Audit
- Shomei.Audit.Api
- Shomei.Audit.Dto
- Shomei.Audit.Handler
- Shomei.Audit.Result
- Authorization
- Shomei.Authorization.Api
- Shomei.Authorization.Handler
- Shomei.Authorization.Result
- Delegation
- Shomei.Delegation.Handler
- Mfa
- Shomei.Mfa.Api
- Shomei.Mfa.Dto
- Shomei.Mfa.Handler
- Shomei.Mfa.Result
- OAuth
- Shomei.OAuth.Api
- Shomei.OAuth.Handler
- Shomei.OAuth.Result
- Passkey
- Shomei.Passkey.Api
- Shomei.Passkey.Dto
- Shomei.Passkey.Handler
- Shomei.Passkey.Result
- Servant
- Shomei.Servant.Api
- Shomei.Servant.Application
- Shomei.Servant.Auth
- Shomei.Servant.Authz
- Shomei.Servant.Cookie
- Shomei.Servant.Error
- Shomei.Servant.Middleware
- Shomei.Servant.OAuth
- Shomei.Servant.Oidc
- Shomei.Servant.OpenApi
- Shomei.Servant.PreHandler
- Shomei.Servant.Result
- Shomei.Servant.Seam
- Shomei.Servant.Server
- Session
- Admin
- Shomei.Session.Admin.Api
- Shomei.Session.Api
- Shomei.Session.Dto
- Shomei.Session.Handler
- Shomei.Session.Result
- Admin
- SigningKey
- Shomei.SigningKey.Api
- Shomei.SigningKey.Handler
- Account
Downloads
- shomei-servant-0.1.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees