name: servant-auth-cookie version: 0.4.3.3 synopsis: Authentication via encrypted cookies description: Authentication via encrypted client-side cookies, inspired by client-session library by Michael Snoyman and based on ideas of the paper "A Secure Cookie Protocol" by Alex Liu et al. license: BSD3 license-file: LICENSE author: Al Zohali maintainer: Al Zohali copyright: Al Zohali , Mark Karpov category: Web build-type: Simple cabal-version: >=1.10 extra-source-files: CHANGELOG.md source-repository head type: git location: https://github.com/zohl/servant-auth-cookie.git flag dev description: Turn on development settings. manual: True default: False flag servant9 description: Use servant-0.9 manual: False default: True flag build-examples description: Build example executables. default: False library exposed-modules: Servant.Server.Experimental.Auth.Cookie build-depends: base >= 4.7 && < 5.0 , base64-bytestring , blaze-builder >= 0.4 && < 0.4.1 , bytestring , cereal >= 0.5 && < 0.6 , cookie >= 0.4.1 && < 0.5 , cryptonite >= 0.14 && < 0.23 , data-default , exceptions >= 0.8 && < 0.9 , http-types >= 0.9 && < 0.10 , memory >= 0.11 && < 0.15 , mtl >= 2.0 && < 3.0 , servant >= 0.5 && < 0.11 , servant-server >= 0.5 && < 0.11 , tagged == 0.8.* , time >= 1.5 && < 1.8 , transformers >= 0.4 && < 0.6 , wai >= 3.0 && < 3.3 if flag(dev) ghc-options: -Wall -Werror else ghc-options: -O2 -Wall hs-source-dirs: src default-language: Haskell2010 if flag(servant9) build-depends: servant >= 0.9, http-api-data == 0.3.* else build-depends: servant < 0.9, bytestring-conversion >= 0.3.1 && <0.4 test-suite tests type: exitcode-stdio-1.0 hs-source-dirs: tests main-is: Main.hs if flag(dev) ghc-options: -Wall -Werror else ghc-options: -O2 -Wall build-depends: base >= 4.7 && < 5.0 , QuickCheck >= 2.4 && < 3.0 , bytestring , cereal >= 0.5 && < 0.6 , cryptonite >= 0.14 && < 0.23 , data-default , deepseq >= 1.3 && < 1.5 , hspec >= 2.0 && < 3.0 , servant-auth-cookie , servant-server >= 0.5 && < 0.11 , time >= 1.5 && < 1.8 if !impl(ghc >= 7.8) build-depends: tagged == 0.8.* default-language: Haskell2010 executable example main-is: Main.hs hs-source-dirs: example if flag(build-examples) build-depends: base >= 4.7 && < 5.0 , base-compat >= 0.9.1 && <0.10 , blaze-html >= 0.8 && < 0.10 , blaze-markup >= 0.7 && < 0.9 , bytestring , cereal >= 0.5 && < 0.6 , cryptonite >= 0.14 && < 0.23 , data-default , exceptions , http-media , mtl >= 2.0 && < 3.0 , servant >= 0.5 && < 0.11 , servant-auth-cookie , servant-blaze >= 0.5 && < 0.10 , servant-server >= 0.5 && < 0.11 , text , transformers >= 0.4 && < 0.6 , wai >= 3.0 && < 3.3 , warp >= 3.0 && < 3.3 if flag(servant9) build-depends: servant >= 0.9, http-api-data == 0.3.* else build-depends: servant < 0.9, bytestring-conversion >= 0.3.1 && <0.4 else buildable: False if flag(dev) ghc-options: -Wall -Werror else ghc-options: -O2 -Wall default-language: Haskell2010 benchmark bench type: exitcode-stdio-1.0 hs-source-dirs: benchmarks main-is: Main.hs default-language: Haskell2010 build-depends: base >= 4.7 && < 5.0 , bytestring , criterion >= 0.6.2.1 && < 1.2 , cryptonite >= 0.14 && < 0.23 , servant-auth-cookie , servant-server >= 0.5 && < 0.11 if flag(dev) ghc-options: -Wall -Werror else ghc-options: -O2 -Wall