packages feed

servant-auth-token-api 0.2.0.0 → 0.2.1.0

raw patch · 3 files changed

+11/−4 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Servant.API.Auth.Token: class UnliftPermSymbol (s :: PermSymbol)
+ Servant.API.Auth.Token: unliftPermSymbol :: UnliftPermSymbol s => Proxy s -> String

Files

CHANGELOG.md view
@@ -1,9 +1,13 @@+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 =======
servant-auth-token-api.cabal view
@@ -1,5 +1,5 @@ name:                servant-auth-token-api-version:             0.2.0.0+version:             0.2.1.0 synopsis:            Servant based API for token based authorisation description:         Please see README.md homepage:            https://github.com/ncrashed/servant-auth-token-api#readme
src/Servant/API/Auth/Token.hs view
@@ -32,8 +32,12 @@   , AuthGroupsMethod   , authAPI   , authDocs-  -- ** Token+  -- ** Permission symbol   , PermSymbol(..)+  , UnliftPermSymbol(..)+  , PermsList(..)+  , PlainPerms+  -- ** Token   , Token(..)   , Token'   , MToken@@ -41,7 +45,6 @@   , TokenHeader   , TokenHeader'   , SimpleToken-  , PermsList(..)   , downgradeToken'   , downgradeToken   -- ** User