https://github.com/ncrashed/servant-auth-token-api
Servant based API for token based authorisation
https://github.com/ncrashed/servant-auth-token-api
Last synced: 11 months ago
JSON representation
Servant based API for token based authorisation
- Host: GitHub
- URL: https://github.com/ncrashed/servant-auth-token-api
- Owner: NCrashed
- License: bsd-3-clause
- Created: 2016-08-01T08:04:51.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-11-08T22:30:01.000Z (over 6 years ago)
- Last Synced: 2025-06-08T10:04:51.979Z (12 months ago)
- Language: Haskell
- Size: 818 KB
- Stars: 4
- Watchers: 4
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# servant-auth-token-api
[](https://travis-ci.org/NCrashed/servant-auth-token-api)
The package provides abstract RESTful API for token based authorisation using [servant](http://haskell-servant.readthedocs.io/en/stable/). It contains only generic types and [servant-swagger](https://hackage.haskell.org/package/servant-swagger) instances. You may be interested in server/client side implementations:
- [servant-auth-token](https://github.com/NCrashed/servant-auth-token) - server side implementation using SQL subdomain of [persistent](http://hackage.haskell.org/package/persistent).
- servant-auth-token-client (not yet published) - client side implementation using [GHCJS](https://github.com/ghcjs/ghcjs) and [reflex-dom](https://hackage.haskell.org/package/reflex-dom)
Also you can explore [swagger documentation](https://ncrashed.github.io/servant-auth-token-api/swagger-ui) for the API and view [markdown version of docs](https://github.com/NCrashed/servant-auth-token-api/blob/gh-pages/docs.markdown).