auth0-python
Advanced tools
| # This value is updated by `poetry_dynamic_versioning` during build time from the latest git tag | ||
| __version__ = "4.8.0" | ||
| __version__ = "4.8.1" | ||
@@ -4,0 +4,0 @@ from auth0.exceptions import Auth0Error, RateLimitError, TokenValidationError |
@@ -279,2 +279,2 @@ from __future__ import annotations | ||
| }, | ||
| ) | ||
| ) |
@@ -6,2 +6,3 @@ from typing import Any | ||
| class PushedAuthorizationRequests(AuthenticationBase): | ||
@@ -28,3 +29,4 @@ """Pushed Authorization Request (PAR) endpoint""" | ||
| data={ | ||
| "client_id": self.client_id, | ||
| "client_id":self.client_id, | ||
| "client_secret":self.client_secret, | ||
| "response_type": response_type, | ||
@@ -34,2 +36,3 @@ "redirect_uri": redirect_uri, | ||
| }, | ||
| ) | ||
| headers={"Content-Type": "application/x-www-form-urlencoded"}, | ||
| ) |
@@ -540,2 +540,2 @@ from __future__ import annotations | ||
| url = self._url(f"{user_id}/authentication-methods/{authentication_method_id}") | ||
| return self.client.delete(url) | ||
| return self.client.delete(url) |
+7
-0
@@ -10,2 +10,3 @@ from __future__ import annotations | ||
| from typing import TYPE_CHECKING, Any, Mapping | ||
| from urllib.parse import urlencode | ||
@@ -156,2 +157,8 @@ import requests | ||
| if data is None and json is not None and headers: | ||
| content_type = headers.get("Content-Type", "").lower() # Get Content-Type | ||
| if "application/x-www-form-urlencoded" in content_type: | ||
| data = urlencode(json) # Copy JSON data into data | ||
| json = None # Prevent JSON from being sent | ||
| kwargs = { | ||
@@ -158,0 +165,0 @@ k: v |
@@ -405,2 +405,2 @@ import unittest | ||
| "https://domain/api/v2/users/user_id/authentication-methods/authentication_method_id" | ||
| ) | ||
| ) |
+3
-1
| Metadata-Version: 2.1 | ||
| Name: auth0-python | ||
| Version: 4.8.0 | ||
| Version: 4.8.1 | ||
| Summary: | ||
@@ -114,3 +114,5 @@ Home-page: https://auth0.com | ||
| - API Authorization - Get Token ( `authentication.GetToken`) | ||
| - BackChannelLogin ( `authentication.BackChannelLogin`) | ||
| - Passwordless ( `authentication.Passwordless` ) | ||
| - PushedAuthorizationRequests ( `authentication.PushedAuthorizationRequests` ) | ||
| - RevokeToken ( `authentication.RevokeToken` ) | ||
@@ -117,0 +119,0 @@ - Social ( `authentication.Social` ) |
+1
-1
@@ -7,3 +7,3 @@ [build-system] | ||
| name = "auth0-python" | ||
| version = "4.8.0" # This is replaced by dynamic versioning | ||
| version = "4.8.1" # This is replaced by dynamic versioning | ||
| description = "" | ||
@@ -10,0 +10,0 @@ authors = ["Auth0 <support@auth0.com>"] |
+2
-0
@@ -91,3 +91,5 @@  | ||
| - API Authorization - Get Token ( `authentication.GetToken`) | ||
| - BackChannelLogin ( `authentication.BackChannelLogin`) | ||
| - Passwordless ( `authentication.Passwordless` ) | ||
| - PushedAuthorizationRequests ( `authentication.PushedAuthorizationRequests` ) | ||
| - RevokeToken ( `authentication.RevokeToken` ) | ||
@@ -94,0 +96,0 @@ - Social ( `authentication.Social` ) |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
520268
0.15%11004
0.04%