Skip to content

Commit 7c8e6ec

Browse files
committed
Re-add comments
1 parent f4ac924 commit 7c8e6ec

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

msal/oauth2cli/oauth2.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,10 @@ def _obtain_token( # The verb "obtain" is influenced by OAUTH2 RFC 6749
187187
data=None, # All relevant data, which will go into the http body
188188
headers=None, # a dict to be sent as request headers
189189
post=None, # A callable to replace requests.post(), for testing.
190+
# Such as: lambda url, **kwargs:
191+
# Mock(status_code=200, text='{}')
190192
**kwargs # Relay all extra parameters to underlying requests
191-
):
193+
): # Returns the json object came from the OAUTH2 response
192194

193195
# Handle deprecated params parameter
194196
params = kwargs.pop('params', None)

0 commit comments

Comments
 (0)