packages feed

yesod-auth-oidc-0.1.3: yesod-auth-oidc.cabal

cabal-version:      2.2
name:               yesod-auth-oidc
version:            0.1.3
build-type:         Simple
category:           Web, Yesod
extra-source-files: README.md
license:            BSD-3-Clause
license-file:       LICENSE
author:             Supercede Technology Ltd
maintainer:         Supercede Technology Ltd <support@supercede.com>
homepage:           https://github.com/SupercedeTech/yesod-auth-oidc
synopsis:           A yesod-auth plugin for multi-tenant SSO via OpenID Connect
description:
  A yesod-auth plugin for multi-tenant SSO via OpenID Connect, using
  Authorization Code flow (AKA server flow).
  Please see the README.md file for more documentation.

tested-with:        GHC ==8.10.4

source-repository head
  type:     git
  location: git@github.com:SupercedeTech/yesod-auth-oidc.git

common common-options
  default-language:   Haskell2010
  default-extensions: NoImplicitPrelude
  hs-source-dirs:     src
  ghc-options:
    -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates
    -Widentities -Wredundant-constraints -Wcpp-undef -Wimplicit-prelude
    -fwarn-tabs

  build-depends:
    , aeson                 >=2.0.0.0 && <3.0
    , base                  >=4.9.1.0 && <5
    , base64-bytestring     >=1.1.0   && <1.3
    , classy-prelude-yesod  ^>=1.5.0
    , containers
    , cryptonite            >=0.28    && <1
    , http-client           >=0.6.4   && <1
    , jose-jwt              ^>=0.9.2
    , oidc-client           >=0.6.0   && <0.8
    , shakespeare           >=2.0.25  && <2.2
    , text                  >=1.2.4   && <3.0
    , time                  >=1.9.3   && <2.0
    , unordered-containers  ^>=0.2.13
    , yesod-auth            ^>=1.6.10
    , yesod-core            ^>=1.6.19
    , yesod-form            >=1.6.7   && <2.0

library
  import:          common-options
  hs-source-dirs:  src
  exposed-modules: Yesod.Auth.OIDC

common test-properties
  default-language:   Haskell2010
  hs-source-dirs:     src test
  ghc-options:        -Wall
  default-extensions: NoImplicitPrelude
  build-depends:
    , aeson
    , base
    , base64-bytestring
    , blaze-html            ^>=0.9.1
    , broch                 ^>=0.1
    , bytestring            ^>=0.10.10
    , classy-prelude        ^>=1.5.0
    , classy-prelude-yesod
    , containers            ^>=0.6.2
    , cryptonite
    , directory             ^>=1.3.6
    , email-validate        ^>=2.3.2
    , fast-logger           >=3.0.5   && <4.0
    , hspec                 >=2.7.10  && <3.0
    , http-client
    , http-conduit          ^>=2.3.8
    , http-types            ^>=0.12.3
    , jose-jwt
    , lens                  >=4.19.2  && <6.0
    , lens-regex-pcre       ^>=1.1.0
    , memory                >=0.15.0  && <1
    , monad-logger          ^>=0.3.36
    , oidc-client
    , persistent            >=2.11.0  && <=3.0.0
    , persistent-sqlite     >=2.11.1  && <=3.0
    , postgresql-simple     ^>=0.6.4
    , reroute               >=0.6.0   && <0.8
    , resource-pool         ^>=0.2.3
    , shakespeare
    , sqlite-simple         ^>=0.4.18
    , text
    , time
    , unordered-containers
    , wai-app-static        ^>=3.1.7
    , wai-extra             ^>=3.1.6
    , warp                  ^>=3.3.15
    , yesod                 ^>=1.6.1
    , yesod-auth
    , yesod-core
    , yesod-form
    , yesod-persistent      ^>=1.6.0
    , yesod-test            ^>=1.6.12

  other-modules:
    ExampleApp
    ExampleProvider
    ExampleProviderOpts
    TestImport
    Yesod.Auth.OIDC
    Yesod.Auth.OIDCSpec

test-suite spec
  import:             test-properties
  type:               exitcode-stdio-1.0
  main-is:            Spec.hs
  build-tool-depends: hspec-discover:hspec-discover