david / django-oauth (http://oauth.net/)
Support of OAuth in Django.
Clone this repository (size: 114.5 KB): HTTPS / SSH
$ hg clone http://code.welldev.org/django-oauth/
| commit 34: | b046ef7b3fa9 |
| parent 33: | 38b34bb24b52 |
| branch: | default |
Update documentation/test's warnings.
Changed (Δ162 bytes):
raw changeset »
oauth_provider/tests.py (5 lines added, 8 lines removed)
Up to file-list oauth_provider/tests.py:
| … | … | @@ -11,11 +11,6 @@ methodology for API authentication. |
11 |
11 |
|
12 |
12 |
.. _`OAuth protocol`: http://oauth.net/core/1.0a |
13 |
13 |
|
14 |
.. warning:: |
|
15 |
At this early stage of the development, feedback is really appreciated. |
|
16 |
Do not hesitate to send an email or a patch if you've got any issue with |
|
17 |
the current implementation. |
|
18 |
||
19 |
14 |
|
20 |
15 |
Authenticating with OAuth |
21 |
16 |
========================= |
| … | … | @@ -126,8 +121,9 @@ can run tests from this example with thi |
126 |
121 |
Protocol Example 1.0 |
127 |
122 |
==================== |
128 |
123 |
|
129 |
DUE TO THE SECURITY ISSUE, THIS EXAMPLE IS NOT THE RECOMMENDED WAY ANYMORE. |
|
130 |
SEE BELOW FOR A MORE ROBUST EXAMPLE WHICH IS 1.0a COMPLIANT. |
|
124 |
.. warning:: |
|
125 |
DUE TO THE SECURITY ISSUE, THIS EXAMPLE IS NOT THE RECOMMENDED WAY ANYMORE. |
|
126 |
SEE BELOW FOR A MORE ROBUST EXAMPLE WHICH IS 1.0a COMPLIANT. |
|
131 |
127 |
|
132 |
128 |
In this example, the Service Provider photos.example.net is a photo sharing |
133 |
129 |
website, and the Consumer printer.example.com is a photo printing website. |
| … | … | @@ -490,7 +486,8 @@ Remove created models' instances to be a |
490 |
486 |
Protocol Example 1.0a |
491 |
487 |
===================== |
492 |
488 |
|
493 |
THIS IS THE RECOMMENDED WAY TO USE THIS APPLICATION. |
|
489 |
.. warning:: |
|
490 |
THIS IS THE RECOMMENDED WAY TO USE THIS APPLICATION. |
|
494 |
491 |
|
495 |
492 |
This example is exactly the same as 1.0 except it uses newly introduced |
496 |
493 |
arguments to be 1.0a compatible and fix the security issue. |
