forked from krdlab/haskell-oidc-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoidc-client.cabal
132 lines (125 loc) · 3.29 KB
/
oidc-client.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
name: oidc-client
version: 0.5.1.0
synopsis: OpenID Connect 1.0 library for RP
homepage: https://github.com/krdlab/haskell-oidc-client
stability: experimental
license: MIT
license-file: LICENSE
author: Sho Kuroda
maintainer: Sho Kuroda <[email protected]>
copyright: (c) 2015 Sho Kuroda
category: Web
build-type: Simple
cabal-version: >=1.10
description:
This package supports implementing of an OpenID Connect 1.0 Relying Party.
.
Examples: <https://github.com/krdlab/haskell-oidc-client/tree/master/examples>
extra-source-files: CHANGELOG.md
, README.md
source-repository head
type: git
location: git://github.com/krdlab/haskell-oidc-client.git
flag network-uri
default: True
flag build-examples
default: False
library
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
exposed-modules:
Web.OIDC.Client
, Web.OIDC.Client.CodeFlow
, Web.OIDC.Client.IdTokenFlow
, Web.OIDC.Client.Discovery
, Web.OIDC.Client.Discovery.Issuers
, Web.OIDC.Client.Discovery.Provider
, Web.OIDC.Client.Settings
, Web.OIDC.Client.Tokens
, Web.OIDC.Client.Types
other-modules:
Web.OIDC.Client.Internal
build-depends:
base >=4.7 && <5
, bytestring >=0.10 && <0.11
, text >=1.2 && <1.3
, aeson >=0.10
, scientific
, attoparsec >=0.12
, exceptions
, http-client
, tls >=1.3.2
, http-client-tls
, jose-jwt >=0.7
, cryptonite
, time
if flag(network-uri)
build-depends: network-uri >=2.6, network >=2.6
else
build-depends: network-uri <2.6, network <2.6
test-suite oidc-client-spec
type: exitcode-stdio-1.0
hs-source-dirs: test, src
default-language: Haskell2010
ghc-options: -Wall
main-is: Spec.hs
other-modules:
Spec.Client
, Spec.Client.Discovery
, Spec.Client.Internal
-- NOTE: The following modules are needed for using Web.OIDC.Client.Internal.
, Web.OIDC.Client
, Web.OIDC.Client.CodeFlow
, Web.OIDC.Client.Discovery
, Web.OIDC.Client.Discovery.Issuers
, Web.OIDC.Client.Discovery.Provider
, Web.OIDC.Client.Settings
, Web.OIDC.Client.Internal
, Web.OIDC.Client.Tokens
, Web.OIDC.Client.Types
build-depends:
base
, aeson
, hspec
, oidc-client
, bytestring
, text
, http-types
, http-client
, http-client-tls
, aeson
, scientific
, jose-jwt
, cryptonite
, exceptions
, time
, network-uri
executable scotty-example
main-is: Main.hs
default-language: Haskell2010
hs-source-dirs: examples/scotty/
ghc-options: -Wall
if flag(build-examples)
build-depends:
base >=4.7 && <5
, oidc-client
, aeson
, bytestring
, text
, containers
, transformers
, mtl
, wai-extra
, scotty
, scotty-cookie
, blaze-html
, cprng-aes
, crypto-random
, base64-bytestring
, http-types
, http-client
, tls >=1.3.2
, http-client-tls
else
buildable: False