2017-12-07 15:30:54 +01:00
|
|
|
name: cookbook-jwt-and-basic-auth
|
|
|
|
version: 0.0.1
|
|
|
|
synopsis: JWT and basic access authentication cookbook example
|
|
|
|
description: Using servant-auth to support both JWT-based and basic
|
|
|
|
authentication.
|
|
|
|
homepage: http://haskell-servant.readthedocs.org/
|
|
|
|
license: BSD3
|
|
|
|
license-file: ../../../servant/LICENSE
|
|
|
|
author: Servant Contributors
|
|
|
|
maintainer: haskell-servant-maintainers@googlegroups.com
|
|
|
|
category: Servant
|
|
|
|
build-type: Simple
|
|
|
|
cabal-version: >=1.10
|
2018-01-17 20:43:00 +01:00
|
|
|
tested-with: GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.2
|
2017-12-07 15:30:54 +01:00
|
|
|
|
|
|
|
executable cookbook-jwt-and-basic-auth
|
2018-01-17 20:43:00 +01:00
|
|
|
if !impl(ghc >= 7.10)
|
|
|
|
buildable: False
|
|
|
|
|
2017-12-07 15:30:54 +01:00
|
|
|
main-is: JWTAndBasicAuth.lhs
|
|
|
|
build-depends: base == 4.*
|
2017-12-27 01:33:12 +01:00
|
|
|
, text >= 1.2
|
|
|
|
, aeson >= 1.2
|
|
|
|
, containers >= 0.5
|
2017-12-07 15:30:54 +01:00
|
|
|
, servant
|
|
|
|
, servant-client
|
|
|
|
, servant-server
|
2018-01-17 20:43:00 +01:00
|
|
|
, servant-auth ==0.3.*
|
|
|
|
, servant-auth-server >= 0.3.1.0
|
2017-12-27 01:33:12 +01:00
|
|
|
, warp >= 3.2
|
|
|
|
, wai >= 3.2
|
|
|
|
, http-types >= 0.10
|
2017-12-07 15:30:54 +01:00
|
|
|
, markdown-unlit >= 0.4
|
2017-12-27 01:33:12 +01:00
|
|
|
, http-client >= 0.5
|
2018-01-17 20:43:00 +01:00
|
|
|
, bytestring >= 0.10.4
|
|
|
|
, transformers
|
2017-12-07 15:30:54 +01:00
|
|
|
default-language: Haskell2010
|
|
|
|
ghc-options: -Wall -pgmL markdown-unlit
|
|
|
|
build-tool-depends: markdown-unlit:markdown-unlit
|