Skip to content

Commit

Permalink
Update references from unreleased v16.4 to upcoming v17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Sep 1, 2024
1 parent 022b989 commit fa80fcf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions oauthenticator/oauth2.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ class OAuthenticator(Authenticator):
Requires `manage_groups` to also be `True`.
.. versionchanged:: 16.4
.. versionchanged:: 17.0
Added async support.
""",
Expand All @@ -392,7 +392,7 @@ class OAuthenticator(Authenticator):
This hook may be async.
.. versionadded: 16.4
.. versionadded: 17.0
""",
)

Expand Down Expand Up @@ -1077,7 +1077,7 @@ async def token_to_user(self, token_info):
def build_auth_state_dict(self, token_info, user_info):
"""
Builds the `auth_state` dict that will be returned by a succesfull `authenticate` method call.
May be async (requires oauthenticator >= 16.4).
May be async (requires oauthenticator >= 17.0).
Args:
token_info: the dictionary returned by the token request (exchanging the OAuth code for an Access Token)
Expand All @@ -1094,7 +1094,7 @@ def build_auth_state_dict(self, token_info, user_info):
Called by the :meth:`oauthenticator.OAuthenticator.authenticate`
.. versionchanged:: 16.4
.. versionchanged:: 17.0
This method be async.
"""

Expand Down Expand Up @@ -1131,7 +1131,7 @@ async def get_user_groups(self, auth_state: dict):
"permissions.groups", this function returns
auth_state["permissions"]["groups"].
.. versionchanged:: 16.4
.. versionchanged:: 17.0
This method may be async.
The base implementation is now async.
"""
Expand Down

0 comments on commit fa80fcf

Please sign in to comment.