sanic-security 1.16.6__py3-none-any.whl → 1.16.7__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- sanic_security/authorization.py +1 -1
- sanic_security/oauth.py +1 -1
- {sanic_security-1.16.6.dist-info → sanic_security-1.16.7.dist-info}/METADATA +1 -1
- {sanic_security-1.16.6.dist-info → sanic_security-1.16.7.dist-info}/RECORD +7 -7
- {sanic_security-1.16.6.dist-info → sanic_security-1.16.7.dist-info}/LICENSE +0 -0
- {sanic_security-1.16.6.dist-info → sanic_security-1.16.7.dist-info}/WHEEL +0 -0
- {sanic_security-1.16.6.dist-info → sanic_security-1.16.7.dist-info}/top_level.txt +0 -0
sanic_security/authorization.py
CHANGED
sanic_security/oauth.py
CHANGED
@@ -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}")
|
@@ -1,17 +1,17 @@
|
|
1
1
|
sanic_security/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
2
|
sanic_security/authentication.py,sha256=APs_YkwQCAEKyQo76ukKazQLGcm9fYrve6CUNxK2yKU,13201
|
3
|
-
sanic_security/authorization.py,sha256=
|
3
|
+
sanic_security/authorization.py,sha256=5-UpK4J0rGUcqxNLqTWjX3L_wrcOYNnsIaeOXQNkNdY,8225
|
4
4
|
sanic_security/configuration.py,sha256=2kWC4CZXvWR1wtBaqkMl58IA0VzxhI2ZbBTqd7LS_fE,6305
|
5
5
|
sanic_security/exceptions.py,sha256=b_E6wbbtk9ziFfH3jZstp2E01hTm6V1yjTltANYAuMY,5582
|
6
6
|
sanic_security/models.py,sha256=B6ZLvLqdn7ZWn1VjOylQN4ecGRfdGbtBrScVJmzIg_o,22097
|
7
|
-
sanic_security/oauth.py,sha256=
|
7
|
+
sanic_security/oauth.py,sha256=r7OV2aKu5RfjLxl4qFs0fWH9UjAnI_LhHa19SWHuQx4,8365
|
8
8
|
sanic_security/utils.py,sha256=WlPOEEQGcfZk-GbPNu6OiysNXAo9mw80TitDV7XxWMc,3762
|
9
9
|
sanic_security/verification.py,sha256=vr_64HLC7TfOwhki7B4Xn3XQJ0V6OoVgh8fR4DISZ44,8085
|
10
10
|
sanic_security/test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
11
11
|
sanic_security/test/server.py,sha256=bVltV-AB_CEz9xrnVIft88FU6IYPgOOWuoSHDijeTDs,13717
|
12
12
|
sanic_security/test/tests.py,sha256=YXyn9aJmYg7vCjUuAs8FcI_lGIgzhmMe4AYTzu47_18,22618
|
13
|
-
sanic_security-1.16.
|
14
|
-
sanic_security-1.16.
|
15
|
-
sanic_security-1.16.
|
16
|
-
sanic_security-1.16.
|
17
|
-
sanic_security-1.16.
|
13
|
+
sanic_security-1.16.7.dist-info/LICENSE,sha256=sXlJs9_mG-dCkPfWsDnuzydJWagS82E2gYtkVH9enHA,1100
|
14
|
+
sanic_security-1.16.7.dist-info/METADATA,sha256=Fl0UIl6fFXCJER9QJNdobBrvE607lnysXLLAk-wTzmI,25938
|
15
|
+
sanic_security-1.16.7.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
16
|
+
sanic_security-1.16.7.dist-info/top_level.txt,sha256=ZybkhHXSjfzhmv8XeqLvnNmLmv21Z0oPX6Ep4DJN8b0,15
|
17
|
+
sanic_security-1.16.7.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|