forked from TomMD/oauth2-simple
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoauth2-simple.cabal
62 lines (58 loc) · 2.28 KB
/
oauth2-simple.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: oauth2-simple
version: 0.1.1.0
synopsis: A simple OAuth2 library
description: This library provides oauth2 in 3 steps.
* Get a mutable state to track auth attempts and prevent
forgery.
* For a given OAuth provider (resource owner), acquire a
fresh URL for user applicaton authentication and
post-authentication redirect.
* On redirect verify the freshness of the login, verify
the authentication code with the provider, obtain and
return an access token (for use with the resource
owner).
license: BSD3
license-file: LICENSE
author: Thomas M. DuBuisson
maintainer: [email protected]
copyright: Galois Inc 2018
category: Web
build-type: Simple
extra-source-files: ChangeLog.md
cabal-version: >=1.10
flag ghoa
description: Build the ghoa example program
default: False
library
exposed-modules: Network.OAuth2
other-modules:
other-extensions: MultiParamTypeClasses, FlexibleInstances, OverloadedStrings, DataKinds, DeriveGeneric, TypeOperators
build-depends: base >= 4.7 && < 5
, aeson >= 2.0.0.0
, binary
, conduit
, bytestring >= 0.10
, http-conduit
, text >= 1.2
, time
, unordered-containers
, base58-bytestring
, cryptohash-sha256
, crypto-api
, entropy
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall -Werror -freverse-errors
executable test-ghoa
if(flag(ghoa))
buildable: True
else
buildable : False
main-is: Main.hs
hs-source-dirs: test
build-depends: oauth2-simple,
base,
lucid,servant-lucid,servant-server>=0.16,servant,warp,text
default-language: Haskell2010
ghc-options: -Wall -Werror
-- type: exitcode-stdio-1.0