sanic-security 1.16.6__tar.gz → 1.16.7__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {sanic_security-1.16.6/sanic_security.egg-info → sanic_security-1.16.7}/PKG-INFO +1 -1
- {sanic_security-1.16.6 → sanic_security-1.16.7}/pyproject.toml +1 -1
- {sanic_security-1.16.6 → sanic_security-1.16.7}/sanic_security/authorization.py +1 -1
- {sanic_security-1.16.6 → sanic_security-1.16.7}/sanic_security/oauth.py +1 -1
- {sanic_security-1.16.6 → sanic_security-1.16.7/sanic_security.egg-info}/PKG-INFO +1 -1
- {sanic_security-1.16.6 → sanic_security-1.16.7}/LICENSE +0 -0
- {sanic_security-1.16.6 → sanic_security-1.16.7}/README.md +0 -0
- {sanic_security-1.16.6 → sanic_security-1.16.7}/sanic_security/__init__.py +0 -0
- {sanic_security-1.16.6 → sanic_security-1.16.7}/sanic_security/authentication.py +0 -0
- {sanic_security-1.16.6 → sanic_security-1.16.7}/sanic_security/configuration.py +0 -0
- {sanic_security-1.16.6 → sanic_security-1.16.7}/sanic_security/exceptions.py +0 -0
- {sanic_security-1.16.6 → sanic_security-1.16.7}/sanic_security/models.py +0 -0
- {sanic_security-1.16.6 → sanic_security-1.16.7}/sanic_security/test/__init__.py +0 -0
- {sanic_security-1.16.6 → sanic_security-1.16.7}/sanic_security/test/server.py +0 -0
- {sanic_security-1.16.6 → sanic_security-1.16.7}/sanic_security/test/tests.py +0 -0
- {sanic_security-1.16.6 → sanic_security-1.16.7}/sanic_security/utils.py +0 -0
- {sanic_security-1.16.6 → sanic_security-1.16.7}/sanic_security/verification.py +0 -0
- {sanic_security-1.16.6 → sanic_security-1.16.7}/sanic_security.egg-info/SOURCES.txt +0 -0
- {sanic_security-1.16.6 → sanic_security-1.16.7}/sanic_security.egg-info/dependency_links.txt +0 -0
- {sanic_security-1.16.6 → sanic_security-1.16.7}/sanic_security.egg-info/requires.txt +0 -0
- {sanic_security-1.16.6 → sanic_security-1.16.7}/sanic_security.egg-info/top_level.txt +0 -0
- {sanic_security-1.16.6 → sanic_security-1.16.7}/setup.cfg +0 -0
@@ -149,7 +149,7 @@ async def oauth_revoke(request: Request, client: BaseOAuth2) -> dict:
|
|
149
149
|
token_info = await oauth_decode(request, client, False)
|
150
150
|
request.ctx.oauth["revoked"] = True
|
151
151
|
with suppress(RevokeTokenNotSupportedError):
|
152
|
-
await client.revoke_token(token_info.get("access_token"))
|
152
|
+
await client.revoke_token(token_info.get("access_token"), "access_token")
|
153
153
|
return token_info
|
154
154
|
except RevokeTokenError as e:
|
155
155
|
raise OAuthError(f"Failed to revoke access token {e.response.text}")
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{sanic_security-1.16.6 → sanic_security-1.16.7}/sanic_security.egg-info/dependency_links.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|