diff options
| author | Petr Vobornik <pvoborni@redhat.com> | 2014-02-20 18:05:16 +0100 |
|---|---|---|
| committer | Petr Vobornik <pvoborni@redhat.com> | 2014-04-15 12:41:54 +0200 |
| commit | 937533c48e27c5a8d4d63978d32990451a10a36a (patch) | |
| tree | 22c710970e69f1ea3196306d3d33a3e220830b7b /doc/examples/python-api.py | |
| parent | 2ec5d969a27b91b04a2b424d93800e68a77aa6e8 (diff) | |
| download | freeipa-937533c48e27c5a8d4d63978d32990451a10a36a.tar.gz freeipa-937533c48e27c5a8d4d63978d32990451a10a36a.tar.xz freeipa-937533c48e27c5a8d4d63978d32990451a10a36a.zip | |
webui: use asynchronous call for authentication
Change `IPA.login_password` and `IPA.get_credentials` to use async AJAX
and to return promise instead of blocking the code.
IPA.get_credentials is still partially blocking because of negotiate process.
We can't do anything about that.
It allows activity indicators to do their job.
https://fedorahosted.org/freeipa/ticket/3903
Reviewed-By: Adam Misnyovszki <amisnyov@redhat.com>
Diffstat (limited to 'doc/examples/python-api.py')
0 files changed, 0 insertions, 0 deletions
