-
Notifications
You must be signed in to change notification settings - Fork 0
/
hsoz.cabal
185 lines (176 loc) · 6.98 KB
/
hsoz.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
name: hsoz
version: 0.0.1.0
synopsis: Iron, Hawk, Oz: Web auth protocols
description:
hsoz is a Haskell implementation of the Iron, Hawk, and Oz web
authentication protocols. These protocols originate from the OAuth2
standardisation process, but are designed to be simpler to implement
for the common case of web applications.
.
The top-level "Network.Iron", "Network.Hawk", "Network.Oz" modules
contain further instructions on their usage. There are also some
example server and client programs within the
<https://github.com/rvl/hsoz project git repository>.
homepage: https://github.com/rvl/hsoz
license: BSD3
license-file: LICENSE
author: Rodney Lorrimar
maintainer: Rodney Lorrimar <[email protected]>
copyright: 2016 Rodney Lorrimar
category: Web, Authentication
build-type: Simple
extra-doc-files: images/*.png
extra-source-files: README.md
cabal-version: >=1.10
stability: experimental
bug-reports: https://github.com/rvl/hsoz/issues
Tested-With: GHC == 8.0.2
source-repository head
type: git
location: https://github.com/rvl/hsoz
flag example
description: Build the example applications
default: True
library
hs-source-dirs: src
exposed-modules: Network.Iron
, Network.Iron.Util
, Network.Hawk
, Network.Hawk.Client
, Network.Hawk.Middleware
, Network.Hawk.Server
, Network.Hawk.Server.Nonce
, Network.Hawk.Types
, Network.Hawk.URI
, Network.Hawk.Internal
, Network.Hawk.Internal.Client
, Network.Hawk.Internal.Client.HeaderParser
, Network.Hawk.Internal.Client.Types
, Network.Hawk.Internal.Server
, Network.Hawk.Internal.Server.Header
, Network.Hawk.Internal.Server.Types
, Network.Hawk.Internal.Types
, Network.Oz
, Network.Oz.Application
, Network.Oz.Client
, Network.Oz.Server
, Network.Oz.Ticket
, Network.Oz.Types
other-modules: Network.Hawk.Algo
, Network.Hawk.Util
, Network.Hawk.Internal.JSON
, Network.Oz.JSON
, Network.Oz.Internal.Types
, Network.Oz.Boom
build-depends: base >= 4.7 && < 5
, aeson >= 1.0.2 && < 1.1
, attoparsec >= 0.13.1 && < 0.14
, bytestring >= 0.10.8 && < 0.11
, case-insensitive >= 1.2.0 && < 1.3
, containers >= 0.5.7 && < 0.6
, cryptonite >= 0.21 && < 0.22
, data-default >= 0.7.1 && < 0.8
, either >= 4.4.1 && < 4.5
, errors >= 2.1.3 && < 2.2
, exceptions >= 0.8.3 && < 0.9
, hashable >= 1.2.5 && < 1.3
, http-client >= 0.5.5 && < 0.6
, http-types >= 0.9.1 && < 0.10
, lens >= 4.15.1 && < 4.16
, memory >= 0.14.1 && < 0.15
, mtl >= 2.2.1 && < 2.3
, network >= 2.6.3 && < 2.7
, scientific >= 0.3.4 && < 0.4
, scotty >= 0.11.0 && < 0.12
, text >= 1.2.2 && < 1.3
, time >= 1.6.0 && < 1.7
, transformers >= 0.5.2 && < 0.6
, unordered-containers >= 0.2.7 && < 0.3
, uri-bytestring >= 0.2.2 && < 0.3
, vault >= 0.3.0 && < 0.4
, wai >= 3.2.1 && < 3.3
, warp >= 3.2.11 && < 3.3
default-language: Haskell2010
default-extensions: OverloadedStrings
executable hsoz-example
if flag(example)
buildable: True
else
buildable: False
hs-source-dirs: example
main-is: Main.hs
other-modules: Common
, HawkServer
, HawkClient
, BewitServer
, BewitClient
, OzServer
, OzClient
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends: hsoz
, aeson
, base
, bytestring
, case-insensitive
, containers
, cryptonite
, data-default
, http-client >= 0.5 && < 0.6
, http-conduit >= 2.2 && < 2.3
, http-types
, lens
, lucid
, scotty
, text
, transformers
, uri-bytestring
, wai
, warp
default-language: Haskell2010
default-extensions: OverloadedStrings
executable iron
if flag(example)
buildable: True
else
buildable: False
hs-source-dirs: example
main-is: Iron.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends: hsoz
, aeson
, base
, bytestring
, containers
, cryptonite
, data-default
, optparse-applicative >= 0.12
, text
, time
default-language: Haskell2010
default-extensions: OverloadedStrings
test-suite hsoz-test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
other-modules: Network.Iron.Tests
, Network.Hawk.Tests
, Network.Oz.Tests
build-depends: base
, hsoz
, QuickCheck
, HUnit
, tasty
, tasty-hunit
, tasty-quickcheck
, tasty-golden
, text
, bytestring
, aeson
, time
, data-default
, wai
, http-client
, http-types
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
default-extensions: OverloadedStrings