From 4b3cca171ec6c0783262c86002c7625619e3d1b0 Mon Sep 17 00:00:00 2001 From: Star3Lord <57606931+Star3Lord@users.noreply.github.com> Date: Thu, 25 Aug 2022 23:33:07 -0400 Subject: [PATCH 1/2] fixed get_unverified_claims() args description --- jose/jws.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jose/jws.py b/jose/jws.py index bfaf6bd0..3f109531 100644 --- a/jose/jws.py +++ b/jose/jws.py @@ -98,7 +98,7 @@ def get_unverified_headers(token): compatibility. Args: - token (str): A signed JWS to decode the headers from. + token (str): A signed JWS to decode the claiams from. Returns: dict: The dict representation of the token headers. From ed2af3865e4ec3d5c58839554338eb0b49477424 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 1 Dec 2022 14:44:20 -0500 Subject: [PATCH 2/2] fixed spelling, corrected the function to patch --- jose/jws.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jose/jws.py b/jose/jws.py index 3f109531..a55a04c1 100644 --- a/jose/jws.py +++ b/jose/jws.py @@ -98,7 +98,7 @@ def get_unverified_headers(token): compatibility. Args: - token (str): A signed JWS to decode the claiams from. + token (str): A signed JWS to decode the headers from. Returns: dict: The dict representation of the token headers. @@ -113,7 +113,7 @@ def get_unverified_claims(token): """Returns the decoded claims without verification of any kind. Args: - token (str): A signed JWS to decode the headers from. + token (str): A signed JWS to decode the claims from. Returns: str: The str representation of the token claims.