File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -175,6 +175,7 @@ The steps below outline how to use the Resource Owner Client Credentials Grant T
175175 .. code-block :: pycon
176176
177177 >>> from oauthlib.oauth2 import BackendApplicationClient
178+ >>> from requests_oauthlib import OAuth2Session
178179 >>> client = BackendApplicationClient(client_id=client_id)
179180 >>> oauth = OAuth2Session(client=client)
180181 >>> token = oauth.fetch_token(token_url='https://provider.com/oauth2/token', client_id=client_id,
@@ -185,6 +186,7 @@ The steps below outline how to use the Resource Owner Client Credentials Grant T
185186 .. code-block :: pycon
186187
187188 >>> from oauthlib.oauth2 import BackendApplicationClient
189+ >>> from requests_oauthlib import OAuth2Session
188190 >>> from requests.auth import HTTPBasicAuth
189191 >>> auth = HTTPBasicAuth(client_id, client_secret)
190192 >>> client = BackendApplicationClient(client_id=client_id)
You can’t perform that action at this time.
0 commit comments