File: yesod-auth-hashdb.cabal

package info (click to toggle)
haskell-yesod-auth-hashdb 1.7.1.7-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 144 kB
  • sloc: haskell: 689; makefile: 2
file content (94 lines) | stat: -rw-r--r-- 3,642 bytes parent folder | download | duplicates (2)
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
name:            yesod-auth-hashdb
version:         1.7.1.7
license:         MIT
license-file:    LICENSE
author:          Patrick Brisbin, later changes Paul Rouse
maintainer:      Paul Rouse <pyr@doynton.org>
synopsis:        Authentication plugin for Yesod.
category:        Web, Yesod
stability:       Stable
cabal-version:   >= 1.10
build-type:      Simple
homepage:        https://github.com/paul-rouse/yesod-auth-hashdb
bug-reports:     https://github.com/paul-rouse/yesod-auth-hashdb/issues
description:
    This package is the Yesod.Auth.HashDB plugin, originally included as part
    of yesod-auth, but now modified to be more secure and placed in a separate
    package.
    .
    It provides authentication using hashed passwords stored in a database,
    and works best in situations where an administrator is involved in
    setting up a user with an initial password.
    .
    The complete login process, including a default form, is implemented by
    this plugin, but the application developer must design the interfaces
    for setting up users and allowing them to change their own passwords,
    since only the low-level password-setting functions are provided by this
    package.  (Note that other authentication plugins may be more appropriate
    if you wish to use email verification to set up accounts).
extra-source-files:  ChangeLog.md
                     stack.yaml
                     test/stack.yaml
                     test/standalone-testsite.cabal

library
    build-depends:   base                    >= 4.8        && < 5
                   , bytestring              >= 0.9.1.4
                   , yesod-core              >= 1.4.19     && < 1.7
                   , yesod-auth              >= 1.4.18     && < 1.7
                   , text                    >= 0.7
                   , yesod-persistent        >= 1.2
                   , persistent              >= 2.1
                   , yesod-form              >= 1.4        && < 1.8
                   , aeson

    exposed-modules: Yesod.Auth.HashDB
    ghc-options:     -Wall
    default-language: Haskell2010

test-suite test
    type:            exitcode-stdio-1.0
    main-is:         main.hs
    hs-source-dirs:  test
    ghc-options:     -Wall
    default-language: Haskell2010
    other-modules:   ExampleData
                     NonDBTests
    build-depends:   base               >= 4.8 && < 5
                   , yesod-auth-hashdb
                   , hspec
                   , text

test-suite integration
    type:            exitcode-stdio-1.0
    main-is:         integration.hs
    hs-source-dirs:  test
    ghc-options:     -Wall
    default-language: Haskell2010
    other-modules:   IntegrationTest
                   , TestSite
                   , TestTools
    build-depends:   base               >= 4.8 && < 5
                   , aeson
                   , bytestring
                   , basic-prelude
                   , containers
                   , hspec              >= 2.0.0
                   , http-conduit
                   , http-types
                   , monad-logger
                   , network-uri
                   , persistent-sqlite  >= 2.1
                   , resourcet
                   , text
                   , unordered-containers
                   , wai-extra
                   , yesod
                   , yesod-auth         >= 1.4.18 && < 1.5 || >= 1.6.1 && < 1.7
                   , yesod-auth-hashdb
                   , yesod-core
                   , yesod-test         >= 1.5.0.1

source-repository head
  type:     git
  location: https://github.com/paul-rouse/yesod-auth-hashdb