shomei-servant: Servant API, handlers, and auth combinators for Shōmei

[ library, mit, program, security, web ] [ Propose Tags ] [ Report a vulnerability ]

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.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 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.2.0.0 && <0.3), shomei-servant (>=0.2.0.0 && <0.3), 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]
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:48:15Z
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
Executables shomei-openapi
Downloads 3 total (3 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]