servant-auth-token-api

Servant based API for token based authorisation https://github.com/ncrashed/servant-auth-token-api#readme

Latest on Hackage:0.4.2.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed by NCrashed
Maintained by ncrashed@gmail.com

servant-auth-token-api

Build Status

The package provides abstract RESTful API for token based authorisation using servant. It contains only generic types and servant-swagger instances. You may be interested in server/client side implementations:

Also you can explore swagger documentation for the API and view markdown version of docs.

Changes

0.4.2.0

  • Add AuthFindUserByLogin endpoint.

0.4.1.0

  • Add AuthCheckPermissionsMethod endpoint.
  • Add AuthGetUserIdMethod endpoint.

0.4.0.1

  • Relax aeson version bound.

0.4.0.0

  • Sync release with servant-auth-token package.

0.3.2.0

  • Add flat-perm-symbols flag.

0.3.1.0

  • Fix overlaying bug with singe use code authorisation.

0.3.0.0

  • Add single use code authorisation.

0.2.1.0

  • Expose UnliftPermSymbol and PlainPerms.

0.2.0.0

  • Moving tokens to PermSymbol instead of Symbol to allow complex permission labels to be used.
  • Return Unit instead of ().

0.1.2.0

  • Remove reexports.

0.1.1.0

  • PagedList schema name now contains names of parameters.
comments powered byDisqus