packages feed

servant-auth-server-0.2.6.1: servant-auth-server.cabal

-- This file has been generated from package.yaml by hpack version 0.15.0.
--
-- see: https://github.com/sol/hpack

name:           servant-auth-server
version:        0.2.6.1
synopsis:       servant-server/servant-auth compatibility
description:    This package provides the required instances for using the @Auth@ combinator
                in your 'servant' server.
                .
                Both cookie- and token- (REST API) based authentication is provided.
                .
                For a quick overview of the usage, see the <http://github.com/plow-technologies/servant-auth#readme README>.
category:       Web, Servant, Authentication
homepage:       http://github.com/plow-technologies/servant-auth#readme
bug-reports:    https://github.com/plow-technologies/servant-auth/issues
author:         Julian K. Arni
maintainer:     jkarni@gmail.com
copyright:      (c) Julian K. Arni
license:        BSD3
license-file:   LICENSE
tested-with:    GHC == 7.10.2, GHC == 8.0.1
build-type:     Simple
cabal-version:  >= 1.10

extra-source-files:
    package.yaml

source-repository head
  type: git
  location: https://github.com/plow-technologies/servant-auth

library
  hs-source-dirs:
      src
  default-extensions: AutoDeriveTypeable ConstraintKinds DataKinds DefaultSignatures DeriveFoldable DeriveFunctor DeriveGeneric DeriveTraversable FlexibleContexts FlexibleInstances FunctionalDependencies GADTs KindSignatures MultiParamTypeClasses OverloadedStrings RankNTypes ScopedTypeVariables TypeFamilies TypeOperators
  ghc-options: -Wall
  build-depends:
      base                    >= 4.7  && < 4.10
    , text                    >= 1    && < 2
    , servant-auth            == 0.2.*
    , cookie                  >= 0.4  && < 0.4.2.2
    , wai                     >= 3.2  && < 3.3
    , mtl                     >= 2.2  && < 2.3
    , bytestring              >= 0.10 && < 0.11
    , bytestring-conversion   >= 0.3  && < 0.4
    , case-insensitive        >= 1.2  && < 1.3
    , jose                    >= 0.5  && < 0.6
    , monad-time              >= 0.2  && < 0.3
    , time                    >= 1.5  && < 1.7
    , servant-server          >= 0.9.1  && < 0.11
    , base64-bytestring       >= 1    && < 2
    , blaze-builder           >= 0.4  && < 0.5
    , unordered-containers    >= 0.2  && < 0.3
    , aeson                   >= 0.11 && < 2
    , lens                    >= 4    && < 5
    , entropy                 >= 0.3  && < 0.4
    , crypto-api              >= 0.13 && < 0.14
    , data-default-class      >= 0.0  && < 0.2
    , http-api-data           >= 0.3  && < 0.4
    , http-types              >= 0.9  && < 0.10
  exposed-modules:
      Servant.Auth.Server
      Servant.Auth.Server.Internal
      Servant.Auth.Server.Internal.AddSetCookie
      Servant.Auth.Server.Internal.BasicAuth
      Servant.Auth.Server.Internal.Class
      Servant.Auth.Server.Internal.ConfigTypes
      Servant.Auth.Server.Internal.Cookie
      Servant.Auth.Server.Internal.FormLogin
      Servant.Auth.Server.Internal.JWT
      Servant.Auth.Server.Internal.ThrowAll
      Servant.Auth.Server.Internal.Types
      Servant.Auth.Server.SetCookieOrphan
  default-language: Haskell2010

executable readme
  main-is: README.lhs
  hs-source-dirs:
      executables
  default-extensions: AutoDeriveTypeable ConstraintKinds DataKinds DefaultSignatures DeriveFoldable DeriveFunctor DeriveGeneric DeriveTraversable FlexibleContexts FlexibleInstances FunctionalDependencies GADTs KindSignatures MultiParamTypeClasses OverloadedStrings RankNTypes ScopedTypeVariables TypeFamilies TypeOperators
  ghc-options: -Wall -pgmL markdown-unlit
  build-depends:
      base                    >= 4.7  && < 4.10
    , text                    >= 1    && < 2
    , servant-auth            == 0.2.*
    , cookie                  >= 0.4  && < 0.4.2.2
    , wai                     >= 3.2  && < 3.3
    , mtl                     >= 2.2  && < 2.3
    , bytestring              >= 0.10 && < 0.11
    , bytestring-conversion   >= 0.3  && < 0.4
    , case-insensitive        >= 1.2  && < 1.3
    , jose                    >= 0.5  && < 0.6
    , monad-time              >= 0.2  && < 0.3
    , time                    >= 1.5  && < 1.7
    , servant-server          >= 0.9.1  && < 0.11
    , base64-bytestring       >= 1    && < 2
    , blaze-builder           >= 0.4  && < 0.5
    , unordered-containers    >= 0.2  && < 0.3
    , aeson                   >= 0.11 && < 2
    , lens                    >= 4    && < 5
    , entropy                 >= 0.3  && < 0.4
    , crypto-api              >= 0.13 && < 0.14
    , data-default-class      >= 0.0  && < 0.2
    , http-api-data           >= 0.3  && < 0.4
    , http-types              >= 0.9  && < 0.10
    , servant-auth
    , servant-auth-server
    , servant-server
    , warp
    , markdown-unlit
    , transformers
  default-language: Haskell2010

test-suite spec
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  hs-source-dirs:
      test
  default-extensions: AutoDeriveTypeable ConstraintKinds DataKinds DefaultSignatures DeriveFoldable DeriveFunctor DeriveGeneric DeriveTraversable FlexibleContexts FlexibleInstances FunctionalDependencies GADTs KindSignatures MultiParamTypeClasses OverloadedStrings RankNTypes ScopedTypeVariables TypeFamilies TypeOperators
  ghc-options: -Wall
  build-depends:
      base                    >= 4.7  && < 4.10
    , text                    >= 1    && < 2
    , servant-auth            == 0.2.*
    , cookie                  >= 0.4  && < 0.4.2.2
    , wai                     >= 3.2  && < 3.3
    , mtl                     >= 2.2  && < 2.3
    , bytestring              >= 0.10 && < 0.11
    , bytestring-conversion   >= 0.3  && < 0.4
    , case-insensitive        >= 1.2  && < 1.3
    , jose                    >= 0.5  && < 0.6
    , monad-time              >= 0.2  && < 0.3
    , time                    >= 1.5  && < 1.7
    , servant-server          >= 0.9.1  && < 0.11
    , base64-bytestring       >= 1    && < 2
    , blaze-builder           >= 0.4  && < 0.5
    , unordered-containers    >= 0.2  && < 0.3
    , aeson                   >= 0.11 && < 2
    , lens                    >= 4    && < 5
    , entropy                 >= 0.3  && < 0.4
    , crypto-api              >= 0.13 && < 0.14
    , data-default-class      >= 0.0  && < 0.2
    , http-api-data           >= 0.3  && < 0.4
    , http-types              >= 0.9  && < 0.10
    , servant-auth-server
    , hspec > 2 && < 3
    , QuickCheck >= 2.8 && < 2.10
    , aeson
    , lens-aeson
    , warp
    , wreq
    , http-types
    , http-client >= 0.4 && < 0.6
  other-modules:
      Doctest
      Servant.Auth.ServerSpec
  default-language: Haskell2010