servant-auth-wordpress: Authenticate Routes Using Wordpress Cookies
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.
[Skip to Readme]
Downloads
- servant-auth-wordpress-1.0.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
| Versions [RSS] | 1.0.0.0, 1.0.0.1, 1.0.0.2 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | base (>=4.7 && <5), mtl (>=2 && <3), servant-server (>=0.14 && <0.16), text (>=1 && <2), time (>=1 && <2), wai (>=3 && <4), wordpress-auth (>=1 && <1.1) [details] |
| License | BSD-3-Clause |
| Copyright | BSD3 |
| Author | Pavan Rikhi |
| Maintainer | [email protected] |
| Category | Web, Servant |
| Home page | https://github.com/prikhi/wordpress-auth#readme |
| Uploaded | by lysergia at 2018-12-23T08:19:09Z |
| Distributions | |
| Downloads | 1330 total (6 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs available [build log] Last success reported on 2018-12-23 [all 1 reports] |