Skip to content

Commit

Permalink
Add a clarification on AuthorizedSession to advanced.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
burnash authored May 11, 2020
1 parent 35e0bc5 commit ad607bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/advanced.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ See the full example in the `External data: Local Files, Drive, Sheets, and Clou
Using Authlib
~~~~~~~~~~~~~

Using ``Authlib`` instead of ``google-auth``. Authlib has an ``AssertionSession`` which can automatically refresh tokens.::
Using ``Authlib`` instead of ``google-auth``. Similar to `google.auth.transport.requests.AuthorizedSession <https://google-auth.readthedocs.io/en/latest/reference/google.auth.transport.requests.html#google.auth.transport.requests.AuthorizedSession>`_ Authlib's ``AssertionSession`` can automatically refresh tokens.::

import json
from gspread import Client
Expand Down

0 comments on commit ad607bc

Please sign in to comment.