packages feed

servant-oauth2-0.1.0.1: servant-oauth2.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.34.4.
--
-- see: https://github.com/sol/hpack

name:           servant-oauth2
version:        0.1.0.1
synopsis:       A library for OAuth2 authentication in servant.
description:    A library for OAuth2 authentication in servant.
                It is a modern wrapper around wai-middleware-auth, and provides the ability to build type-safe authorised APIs with authentication provided by the wai oauth2 backends.
                See <https://hackage.haskell.org/package/servant-oauth2-examples> for example usage.
category:       Web
homepage:       https://github.com/tweag/servant-oauth2#readme
author:         Tweag
maintainer:     noon.vandersilk@tweag.io
copyright:      2022 Tweag
license:        OtherLicense
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    LICENSE

library
  exposed-modules:
      Servant.OAuth2
      Servant.OAuth2.Cookies
      Servant.OAuth2.Hacks
  other-modules:
      Paths_servant_oauth2
  hs-source-dirs:
      src
  default-extensions:
      DataKinds
      DeriveGeneric
      DerivingStrategies
      FlexibleContexts
      ImportQualifiedPost
      KindSignatures
      OverloadedStrings
      PackageImports
      ScopedTypeVariables
      TypeApplications
      TypeOperators
  ghc-options: -W -Wall
  build-depends:
      base >=4.7 && <5
    , base64-bytestring
    , binary
    , bytestring
    , clientsession
    , cookie
    , exceptions
    , hoauth2
    , http-types
    , mtl
    , servant
    , servant-blaze
    , servant-server
    , shakespeare
    , text
    , tomland
    , unordered-containers
    , uri-bytestring
    , wai
    , wai-middleware-auth
    , warp
  default-language: Haskell2010