2022-01-04 22:06:23 +01:00
|
|
|
cabal-version: 2.2
|
2021-10-26 16:08:30 +02:00
|
|
|
name: servant-auth-server
|
2022-02-02 15:54:31 +01:00
|
|
|
version: 0.4.7.0
|
2021-10-26 16:08:30 +02:00
|
|
|
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.
|
|
|
|
.
|
2022-03-01 09:34:45 +01:00
|
|
|
For a quick overview of the usage, see the <https://github.com/haskell-servant/servant/tree/master/servant-auth#readme README>.
|
2021-10-26 16:08:30 +02:00
|
|
|
category: Web, Servant, Authentication
|
2022-03-01 09:34:45 +01:00
|
|
|
homepage: https://github.com/haskell-servant/servant/tree/master/servant-auth#readme
|
2021-10-26 22:29:04 +02:00
|
|
|
bug-reports: https://github.com/haskell-servant/servant/issues
|
2021-10-26 16:08:30 +02:00
|
|
|
author: Julian K. Arni
|
|
|
|
maintainer: jkarni@gmail.com
|
|
|
|
copyright: (c) Julian K. Arni
|
2021-10-31 22:37:56 +01:00
|
|
|
license: BSD-3-Clause
|
2021-10-26 16:08:30 +02:00
|
|
|
license-file: LICENSE
|
|
|
|
tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.4 || ==9.0.1
|
|
|
|
build-type: Simple
|
|
|
|
extra-source-files:
|
|
|
|
CHANGELOG.md
|
|
|
|
|
|
|
|
source-repository head
|
|
|
|
type: git
|
2021-10-26 22:29:04 +02:00
|
|
|
location: https://github.com/haskell-servant/servant
|
2021-10-26 16:08:30 +02:00
|
|
|
|
|
|
|
library
|
|
|
|
hs-source-dirs:
|
|
|
|
src
|
|
|
|
default-extensions: ConstraintKinds DataKinds DefaultSignatures DeriveFoldable DeriveFunctor DeriveGeneric DeriveTraversable FlexibleContexts FlexibleInstances FunctionalDependencies GADTs KindSignatures MultiParamTypeClasses OverloadedStrings RankNTypes ScopedTypeVariables TypeFamilies TypeOperators
|
|
|
|
ghc-options: -Wall
|
|
|
|
build-depends:
|
2022-03-14 02:58:24 +01:00
|
|
|
base >= 4.10 && < 4.17
|
2021-11-18 14:10:45 +01:00
|
|
|
, aeson >= 1.0.0.1 && < 3
|
2021-10-29 16:15:15 +02:00
|
|
|
, base64-bytestring >= 1.0.0.1 && < 2
|
2021-10-26 16:08:30 +02:00
|
|
|
, blaze-builder >= 0.4.1.0 && < 0.5
|
2022-03-14 02:58:24 +01:00
|
|
|
, bytestring >= 0.10.6.0 && < 0.12
|
2021-10-26 16:08:30 +02:00
|
|
|
, case-insensitive >= 1.2.0.11 && < 1.3
|
|
|
|
, cookie >= 0.4.4 && < 0.5
|
|
|
|
, data-default-class >= 0.1.2.0 && < 0.2
|
|
|
|
, entropy >= 0.4.1.3 && < 0.5
|
|
|
|
, http-types >= 0.12.2 && < 0.13
|
2021-11-18 14:10:45 +01:00
|
|
|
, jose >= 0.7.0.0 && < 0.10
|
2022-02-06 23:12:25 +01:00
|
|
|
, lens >= 4.16.1 && < 5.2
|
2022-03-14 02:58:24 +01:00
|
|
|
, memory >= 0.14.16 && < 0.18
|
2021-10-26 16:08:30 +02:00
|
|
|
, monad-time >= 0.3.1.0 && < 0.4
|
|
|
|
, mtl >= 2.2.2 && < 2.3
|
2022-01-31 15:13:47 +01:00
|
|
|
, servant >= 0.13 && < 0.20
|
2021-10-26 16:08:30 +02:00
|
|
|
, servant-auth == 0.4.*
|
2022-01-31 15:13:47 +01:00
|
|
|
, servant-server >= 0.13 && < 0.20
|
2021-10-26 16:08:30 +02:00
|
|
|
, tagged >= 0.8.4 && < 0.9
|
2022-02-06 23:12:25 +01:00
|
|
|
, text >= 1.2.3.0 && < 2.1
|
2022-03-14 02:58:24 +01:00
|
|
|
, time >= 1.5.0.1 && < 1.12
|
2021-10-26 16:08:30 +02:00
|
|
|
, unordered-containers >= 0.2.9.0 && < 0.3
|
|
|
|
, wai >= 3.2.1.2 && < 3.3
|
2021-10-26 18:58:36 +02:00
|
|
|
|
2021-10-30 20:43:35 +02:00
|
|
|
if impl(ghc >= 9)
|
|
|
|
build-depends:
|
|
|
|
-- base64-bytestring 1.2.1.0 contains important fix for GHC-9, lower versions
|
|
|
|
-- produce wrong results, thus corrupring JWT via jose package.
|
|
|
|
-- See: https://github.com/haskell/base64-bytestring/pull/46
|
|
|
|
base64-bytestring >= 1.2.1.0
|
|
|
|
|
2021-10-26 16:08:30 +02:00
|
|
|
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
|
|
|
|
|
|
|
|
test-suite readme
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
main-is: README.lhs
|
|
|
|
default-extensions: 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-tool-depends: markdown-unlit:markdown-unlit
|
|
|
|
build-depends:
|
|
|
|
base
|
|
|
|
, servant-auth
|
|
|
|
, servant-auth-server
|
|
|
|
, servant-server
|
|
|
|
, aeson
|
|
|
|
, mtl
|
|
|
|
, warp
|
|
|
|
default-language: Haskell2010
|
|
|
|
if impl(ghcjs)
|
|
|
|
buildable: False
|
|
|
|
|
|
|
|
test-suite spec
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
main-is: Spec.hs
|
|
|
|
hs-source-dirs:
|
|
|
|
test
|
|
|
|
default-extensions: ConstraintKinds DataKinds DefaultSignatures DeriveFoldable DeriveFunctor DeriveGeneric DeriveTraversable FlexibleContexts FlexibleInstances FunctionalDependencies GADTs KindSignatures MultiParamTypeClasses OverloadedStrings RankNTypes ScopedTypeVariables TypeFamilies TypeOperators
|
|
|
|
ghc-options: -Wall
|
|
|
|
build-tool-depends: hspec-discover:hspec-discover >=2.5.5 && <2.8
|
|
|
|
|
|
|
|
-- dependencies with bounds inherited from the library stanza
|
|
|
|
build-depends:
|
|
|
|
base
|
|
|
|
, aeson
|
|
|
|
, bytestring
|
|
|
|
, case-insensitive
|
|
|
|
, jose
|
|
|
|
, lens
|
|
|
|
, mtl
|
|
|
|
, time
|
|
|
|
, http-types
|
|
|
|
, wai
|
|
|
|
, servant
|
|
|
|
, servant-server
|
|
|
|
, transformers
|
|
|
|
|
|
|
|
-- test dependencies
|
|
|
|
build-depends:
|
|
|
|
servant-auth-server
|
|
|
|
, hspec >= 2.5.5 && < 2.8
|
|
|
|
, QuickCheck >= 2.11.3 && < 2.15
|
|
|
|
, http-client >= 0.5.13.1 && < 0.8
|
|
|
|
, lens-aeson >= 1.0.2 && < 1.2
|
|
|
|
, warp >= 3.2.25 && < 3.4
|
|
|
|
, wreq >= 0.5.2.1 && < 0.6
|
2022-03-22 11:21:54 +01:00
|
|
|
, text >= 1.2.3.0 && < 2.1
|
2021-10-26 16:08:30 +02:00
|
|
|
other-modules:
|
|
|
|
Servant.Auth.ServerSpec
|
|
|
|
default-language: Haskell2010
|