From fa80fcf592ee0f667cdbd2b026c659591d537207 Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Sun, 1 Sep 2024 17:19:36 +0200 Subject: [PATCH] Update references from unreleased v16.4 to upcoming v17.0 --- oauthenticator/oauth2.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/oauthenticator/oauth2.py b/oauthenticator/oauth2.py index e04ea952..0b37f4cf 100644 --- a/oauthenticator/oauth2.py +++ b/oauthenticator/oauth2.py @@ -366,7 +366,7 @@ class OAuthenticator(Authenticator): Requires `manage_groups` to also be `True`. - .. versionchanged:: 16.4 + .. versionchanged:: 17.0 Added async support. """, @@ -392,7 +392,7 @@ class OAuthenticator(Authenticator): This hook may be async. - .. versionadded: 16.4 + .. versionadded: 17.0 """, ) @@ -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) @@ -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. """ @@ -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. """