From 01bdc0d356ab3e5b6af82f708a9f13899b88205d Mon Sep 17 00:00:00 2001 From: Matt Wright Date: Mon, 22 Jul 2013 11:35:45 -0400 Subject: [PATCH] A little more documentation. Fixes #131 --- docs/features.rst | 14 ++++++++++++++ docs/index.rst | 1 + 2 files changed, 15 insertions(+) diff --git a/docs/features.rst b/docs/features.rst index e870ba2..3d0c170 100644 --- a/docs/features.rst +++ b/docs/features.rst @@ -104,6 +104,20 @@ statistics. They include: * Total login count +JSON/Ajax Support +----------------- + +Flask-Security supports JSON/Ajax requests where appropriate. Just remember that +all endpoints require a CSRF token just like HTML views. More specifically +JSON is supported for the following operations: + +* Login requests +* Registration requests +* Change password requests +* Confirmation requests +* Forgot password requests +* Passwordless login requests + .. _Flask-Login: http://packages.python.org/Flask-Login/ .. _alternative token: http://packages.python.org/Flask-Login/#alternative-tokens diff --git a/docs/index.rst b/docs/index.rst index f52b132..c53592b 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -13,6 +13,7 @@ Flask application. They include: 7. Token based password recovery / resetting (optional) 8. User registration (optional) 9. Login tracking (optional) +10 . JSON/Ajax Support Many of these features are made possible by integrating various Flask extensions and libraries. They include: