Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
arithmetic1728 committed Aug 12, 2021
1 parent 3f229af commit db7171e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions google/oauth2/_reauth_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,7 @@ async def refresh_grant(
rapt_token=None,
enable_reauth_refresh=False,
):
"""Implements the reauthentication flow. This function is intended for
gcloud to use only.
"""Implements the reauthentication flow.
Args:
request (google.auth.transport.Request): A callable used to make
Expand All @@ -267,8 +266,9 @@ async def refresh_grant(
token has a wild card scope (e.g.
'https://www.googleapis.com/auth/any-api').
rapt_token (Optional(str)): The rapt token for reauth.
enable_reauth_refresh (Optional[bool]): Whether reauth refresh flow should
be used. The default value is False.
enable_reauth_refresh (Optional[bool]): Whether reauth refresh flow
should be used. The default value is False. This option is for
gcloud only, other users should use the default value.
Returns:
Tuple[str, Optional[str], Optional[datetime], Mapping[str, str], str]: The
Expand Down
6 changes: 3 additions & 3 deletions google/oauth2/reauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,7 @@ def refresh_grant(
rapt_token=None,
enable_reauth_refresh=False,
):
"""Implements the reauthentication flow. This method is intended for gcloud
to use only.
"""Implements the reauthentication flow.
Args:
request (google.auth.transport.Request): A callable used to make
Expand All @@ -295,7 +294,8 @@ def refresh_grant(
'https://www.googleapis.com/auth/any-api').
rapt_token (Optional(str)): The rapt token for reauth.
enable_reauth_refresh (Optional[bool]): Whether reauth refresh flow
should be used. The default value is False.
should be used. The default value is False. This option is for
gcloud only, otherwise users should use the default value.
Returns:
Tuple[str, Optional[str], Optional[datetime], Mapping[str, str], str]: The
Expand Down

0 comments on commit db7171e

Please sign in to comment.