Merge remote-tracking branch 'begriffs/v3' into v3
This commit is contained in:
@@ -12,15 +12,12 @@ In the test suite there is an example of simple login function that can be used
|
||||
very simple authentication system inside the PostgreSQL database.
|
||||
-}
|
||||
module PostgREST.Auth (
|
||||
setRole
|
||||
setRole
|
||||
, claimsToSQL
|
||||
, jwtClaims
|
||||
, tokenJWT
|
||||
) where
|
||||
|
||||
--line needed for ghc 7.8
|
||||
--import Data.Functor ((<$>))
|
||||
|
||||
import Data.Aeson (Value (..), Object)
|
||||
import Data.Aeson.Types (emptyObject, emptyArray)
|
||||
import Data.Vector as V (null, head)
|
||||
|
||||
Reference in New Issue
Block a user