2018-10-04 03:00:06 +02:00
|
|
|
name: cookbook-hoist-server-with-context
|
|
|
|
version: 0.0.1
|
|
|
|
synopsis: JWT and basic access authentication with a Custom Monad cookbook example
|
|
|
|
description: Using servant-auth to support both JWT-based and basic
|
|
|
|
authentication.
|
2019-03-02 10:08:03 +01:00
|
|
|
homepage: http://docs.servant.dev/
|
2018-10-04 03:00:06 +02:00
|
|
|
license: BSD3
|
|
|
|
license-file: ../../../servant/LICENSE
|
|
|
|
author: Servant Contributors
|
|
|
|
maintainer: haskell-servant-maintainers@googlegroups.com
|
|
|
|
category: Servant
|
|
|
|
build-type: Simple
|
|
|
|
cabal-version: >=1.10
|
2021-10-02 19:16:32 +02:00
|
|
|
tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7
|
2018-10-04 03:00:06 +02:00
|
|
|
|
|
|
|
executable cookbook-hoist-server-with-context
|
|
|
|
main-is: HoistServerWithContext.lhs
|
|
|
|
build-depends: base == 4.*
|
2018-11-05 18:20:18 +01:00
|
|
|
, base-compat
|
2018-10-04 03:00:06 +02:00
|
|
|
, text >= 1.2
|
|
|
|
, aeson >= 1.2
|
|
|
|
, data-default
|
|
|
|
, fast-logger
|
|
|
|
, servant
|
|
|
|
, servant-server
|
|
|
|
, servant-auth >= 0.3.2
|
2021-04-16 13:39:09 +02:00
|
|
|
, servant-auth-server >= 0.4.4.0
|
2018-10-04 03:00:06 +02:00
|
|
|
, time
|
|
|
|
, warp >= 3.2
|
|
|
|
, wai >= 3.2
|
|
|
|
, wai-extra
|
|
|
|
, http-types >= 0.12
|
|
|
|
, bytestring >= 0.10.4
|
|
|
|
, mtl
|
|
|
|
default-language: Haskell2010
|
|
|
|
ghc-options: -Wall -pgmL markdown-unlit
|
|
|
|
build-tool-depends: markdown-unlit:markdown-unlit
|