diff options
| author | Enrique Garcia <garcianavalon@gmail.com> | 2014-10-27 10:00:18 +0100 |
|---|---|---|
| committer | Enrique Garcia <garcianavalon@gmail.com> | 2014-10-27 10:00:18 +0100 |
| commit | f2b165cead46060cf1f60e89dc0e893136a5e2af (patch) | |
| tree | 182d4e5ffde3efa78eb0e96f6b4e70c1aec5807a /docs/oauth2 | |
| parent | 5a9f7444e5cfbb8a4c11b66619783094a336252e (diff) | |
| download | oauthlib-f2b165cead46060cf1f60e89dc0e893136a5e2af.tar.gz | |
updated token endpoint documentation to reflect current behavior,the token contains a string with the scopes separated by spaces
Diffstat (limited to 'docs/oauth2')
| -rw-r--r-- | docs/oauth2/endpoints/token.rst | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/docs/oauth2/endpoints/token.rst b/docs/oauth2/endpoints/token.rst index b01cda6..7db6119 100644 --- a/docs/oauth2/endpoints/token.rst +++ b/docs/oauth2/endpoints/token.rst @@ -63,10 +63,7 @@ tokens which unless you are certain you need them, are a bad idea. 'access_token': 'sldafh309sdf', 'refresh_token': 'alsounguessablerandomstring', 'expires_in': 3600, - 'scopes': [ - 'https://example.com/userProfile', - 'https://example.com/pictures' - ], + 'scope': 'https://example.com/userProfile https://example.com/pictures', 'token_type': 'Bearer' } # body will contain an error code and possibly an error description if |
