Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update references from unreleased v16.4 to upcoming v17.0 #755

Merged
merged 1 commit into from
Sep 1, 2024
Merged
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
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