servant-auth-wordpress

Authenticate Routes Using Wordpress Cookies https://github.com/prikhi/wordpress-auth#readme

Version on this page:1.0.0.1
Stackage Nightly 2019-05-22:1.0.0.1
Latest on Hackage:1.0.0.1

See all snapshots servant-auth-wordpress appears in

BSD-3-Clause licensed by Pavan Rikhi
Maintained by pavan.rikhi@gmail.com

Module documentation for 1.0.0.1

servant-auth-wordpress

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.

License

BSD 3-clause, exceptions possible.

Changes

ChangeLog

v1.0.0.1

Support Servant v0.16

v1.0.0.0

Initial Release

Depends on 7 packages:
comments powered byDisqus