packages feed

wordpress-auth-1.0.0.1: wordpress-auth.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
--
-- hash: 82c4605ae4faddea533a20c6753a62d06b98d4f614812c8df4dbf45f001774d6

name:           wordpress-auth
version:        1.0.0.1
synopsis:       Validate Wordpress Cookies & Nonces; Build Wordpress Hashes & Salts
description:    This package is used for validating Cookie data & Nonces from Wordpress.
                .
                You may find it useful if you're trying to serve a Haskell application alongside a Wordpress site. By validating the Cookies set by Wordpress, you can access the currently logged-in Wordpress user in Haskell without having to devise a Wordpress-to-Haskell authentication scheme.
                .
                It includes a generalized authentication function, as well as various helpers, validators, & hashers if you'd like to build a custom authentication process.
                .
                Servant users may want to just use the @servant-auth-wordpress@ package.
category:       Web
homepage:       https://github.com/prikhi/wordpress-auth#readme
author:         Pavan Rikhi
maintainer:     pavan.rikhi@gmail.com
copyright:      BSD3
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    CHANGELOG.md

library
  exposed-modules:
      Wordpress.Auth
  other-modules:
      Paths_wordpress_auth
  hs-source-dirs:
      src
  ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
  build-depends:
      base >=4.7 && <5
    , base16-bytestring <1.1
    , bytestring >=0.10 && <0.12
    , cookie ==0.4.*
    , cryptohash-md5 ==0.11.*
    , cryptohash-sha256 ==0.11.*
    , hs-php-session >=0.0.9 && <0.1
    , http-types ==0.12.*
    , mtl ==2.*
    , text ==1.*
    , time ==1.*
    , uri-encode ==1.5.*
  default-language: Haskell2010