Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions msal/oauth2cli/oauth2.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def obtain_token_by_refresh_token(self, refresh_token, scope=None, **kwargs):

:param refresh_token: The refresh token issued to the client
:param scope: If omitted, is treated as equal to the scope originally
granted by the resource ownser,
granted by the resource owner,
according to https://tools.ietf.org/html/rfc6749#section-6
"""
assert isinstance(refresh_token, string_types)
Expand Down Expand Up @@ -397,7 +397,7 @@ def parse_auth_response(params, state=None):

def obtain_token_by_authorization_code(
self, code, redirect_uri=None, scope=None, **kwargs):
"""Get a token via auhtorization code. a.k.a. Authorization Code Grant.
"""Get a token via authorization code. a.k.a. Authorization Code Grant.

This is typically used by a server-side app (Confidential Client),
but it can also be used by a device-side native app (Public Client).
Expand Down Expand Up @@ -503,7 +503,7 @@ def obtain_token_by_refresh_token(self, token_item, scope=None,
Either way, this token_item will be passed into other callbacks as-is.

:param scope: If omitted, is treated as equal to the scope originally
granted by the resource ownser,
granted by the resource owner,
according to https://tools.ietf.org/html/rfc6749#section-6
:param rt_getter: A callable to translate the token_item to a raw RT string
:param on_removing_rt: If absent, fall back to the one defined in initialization
Expand Down
2 changes: 1 addition & 1 deletion msal/oauth2cli/oidc.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def build_auth_request_uri(self, response_type, nonce=None, **kwargs):
response_type, nonce=nonce, **kwargs)

def obtain_token_by_authorization_code(self, code, nonce=None, **kwargs):
"""Get a token via auhtorization code. a.k.a. Authorization Code Grant.
"""Get a token via authorization code. a.k.a. Authorization Code Grant.

Return value and all other parameters are the same as
:func:`oauth2.Client.obtain_token_by_authorization_code`,
Expand Down