Skip to content

Commit ac99ccb

Browse files
committed
Rename obtain_token_with_assertion(...) to ...by...(...)
1 parent e5769a5 commit ac99ccb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oauth2cli/oauth2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ def obtain_token_by_refresh_token(self, token_item, scope=None,
381381
return resp
382382
raise ValueError("token_item should not be a type %s" % type(token_item))
383383

384-
def obtain_token_with_assertion(
384+
def obtain_token_by_assertion(
385385
self, assertion, grant_type=None, scope=None, **kwargs):
386386
# type: (str, Union[str, None], Union[str, list, set, tuple]) -> dict
387387
"""This method implements Assertion Framework for OAuth2 (RFC 7521).

0 commit comments

Comments
 (0)