diff options
author | Devin Sevilla <dasevilla@gmail.com> | 2013-05-25 13:51:44 -0700 |
---|---|---|
committer | Devin Sevilla <dasevilla@gmail.com> | 2013-05-25 13:51:44 -0700 |
commit | d1e2b1df73eaeebafaab0b03262e3e1375f81749 (patch) | |
tree | a7f2f7e2fb622e7118d11a2a6ef2488c0e66598b | |
parent | b650d785223409d6ba04e906eb8c22c9efb788bd (diff) | |
download | oauthlib-d1e2b1df73eaeebafaab0b03262e3e1375f81749.tar.gz |
Fix formatting in OAuth 2 Client docs
-rw-r--r-- | oauthlib/oauth2/draft25/__init__.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/oauthlib/oauth2/draft25/__init__.py b/oauthlib/oauth2/draft25/__init__.py index 5987b3e..0020174 100644 --- a/oauthlib/oauth2/draft25/__init__.py +++ b/oauthlib/oauth2/draft25/__init__.py @@ -97,21 +97,21 @@ class Client(object): For example, the "bearer" token type defined in [I-D.ietf-oauth-v2-bearer] is utilized by simply including the access - token string in the request: + token string in the request:: - GET /resource/1 HTTP/1.1 - Host: example.com - Authorization: Bearer mF_9.B5f-4.1JqM + GET /resource/1 HTTP/1.1 + Host: example.com + Authorization: Bearer mF_9.B5f-4.1JqM while the "mac" token type defined in [I-D.ietf-oauth-v2-http-mac] is utilized by issuing a MAC key together with the access token which is - used to sign certain components of the HTTP requests: + used to sign certain components of the HTTP requests:: - GET /resource/1 HTTP/1.1 - Host: example.com - Authorization: MAC id="h480djs93hd8", - nonce="274312:dj83hs9s", - mac="kDZvddkndxvhGRXZhvuDjEWhGeE=" + GET /resource/1 HTTP/1.1 + Host: example.com + Authorization: MAC id="h480djs93hd8", + nonce="274312:dj83hs9s", + mac="kDZvddkndxvhGRXZhvuDjEWhGeE=" .. _`I-D.ietf-oauth-v2-bearer`: http://tools.ietf.org/html/draft-ietf-oauth-v2-28#ref-I-D.ietf-oauth-v2-bearer .. _`I-D.ietf-oauth-v2-http-mac`: http://tools.ietf.org/html/draft-ietf-oauth-v2-28#ref-I-D.ietf-oauth-v2-http-mac |