diff options
author | Dan Piet <pietdaniel@gmail.com> | 2020-01-13 13:20:05 -0500 |
---|---|---|
committer | Dan Piet <pietdaniel@gmail.com> | 2020-01-13 13:20:05 -0500 |
commit | 00d4d5a62d4bf18fd2642cd667f7e2002211668c (patch) | |
tree | aaa9e59de6775a9aaf06084635c58fdbe5ddda86 | |
parent | a09a2ce979b886e81eb4e7fd3794ae4a050ff8fb (diff) | |
download | oauthlib-00d4d5a62d4bf18fd2642cd667f7e2002211668c.tar.gz |
update server.rst docs necessary auth code fields
-rw-r--r-- | docs/oauth2/server.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/oauth2/server.rst b/docs/oauth2/server.rst index d9846c5..15420f3 100644 --- a/docs/oauth2/server.rst +++ b/docs/oauth2/server.rst @@ -239,6 +239,17 @@ the token. # the scopes into a string. scopes = django.db.models.TextField() +**Redirect URI**: + + If the client specifies a redirect_uri when obtaining code then that + redirect URI must be bound to the code and verified equal in this + method, according to RFC 6749 section 4.1. This field holds that + bound value. + + .. code-block:: python + + redirect_uri = django.db.models.TextField() + **Authorization Code**: An unguessable unique string of characters. |