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: 6b5d158f3238265112bc4e633f35fad72d06327eefabb47edafd79f0a49f14c2
name: servant-auth-wordpress
version: 1.0.0.2
synopsis: Authenticate Routes Using Wordpress Cookies
description: This package provides a Servant AuthHandler that validates Wordpress's @LOGGED_IN@ authentication Cookie & the @wp_rest@ Nonce, returning either an Authorized user with data or an Anonymous user, or calling an error handler.
.
This allows you to access the currently logged in User when making AJAX requests from a Wordpress site.
.
Check out the @wordpress-auth@ package for lower-level Wordpress Cookie & Nonce manipulation.
category: Web, Servant
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:
Servant.Auth.Wordpress
other-modules:
Paths_servant_auth_wordpress
hs-source-dirs:
src
ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
build-depends:
base >=4.7 && <5
, mtl ==2.*
, servant-server >=0.14 && <0.19
, text ==1.*
, time ==1.*
, wai ==3.*
, wordpress-auth >=1 && <1.1
default-language: Haskell2010