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.

[maintain] [Publish]

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

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees