pypomes-jwt 0.9.7__py3-none-any.whl → 0.9.8__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.
Potentially problematic release.
This version of pypomes-jwt might be problematic. Click here for more details.
- pypomes_jwt/jwt_pomes.py +8 -8
- pypomes_jwt/jwt_registry.py +8 -8
- {pypomes_jwt-0.9.7.dist-info → pypomes_jwt-0.9.8.dist-info}/METADATA +1 -1
- pypomes_jwt-0.9.8.dist-info/RECORD +8 -0
- pypomes_jwt-0.9.7.dist-info/RECORD +0 -8
- {pypomes_jwt-0.9.7.dist-info → pypomes_jwt-0.9.8.dist-info}/WHEEL +0 -0
- {pypomes_jwt-0.9.7.dist-info → pypomes_jwt-0.9.8.dist-info}/licenses/LICENSE +0 -0
pypomes_jwt/jwt_pomes.py
CHANGED
|
@@ -351,10 +351,10 @@ def jwt_issue_tokens(errors: list[str] | None,
|
|
|
351
351
|
|
|
352
352
|
Structure of the return data:
|
|
353
353
|
{
|
|
354
|
-
"
|
|
355
|
-
"
|
|
356
|
-
"
|
|
357
|
-
"
|
|
354
|
+
"access-token": <jwt-token>,
|
|
355
|
+
"created-in": <timestamp>,
|
|
356
|
+
"expires-in": <seconds-to-expiration>,
|
|
357
|
+
"refresh-token": <jwt-token>
|
|
358
358
|
}
|
|
359
359
|
|
|
360
360
|
:param errors: incidental error messages
|
|
@@ -400,10 +400,10 @@ def jwt_refresh_tokens(errors: list[str] | None,
|
|
|
400
400
|
|
|
401
401
|
Structure of the return data:
|
|
402
402
|
{
|
|
403
|
-
"
|
|
404
|
-
"
|
|
405
|
-
"
|
|
406
|
-
"
|
|
403
|
+
"access-token": <jwt-token>,
|
|
404
|
+
"created-in": <timestamp>,
|
|
405
|
+
"expires-in": <seconds-to-expiration>,
|
|
406
|
+
"refresh-token": <jwt-token>
|
|
407
407
|
}
|
|
408
408
|
|
|
409
409
|
:param errors: incidental error messages
|
pypomes_jwt/jwt_registry.py
CHANGED
|
@@ -232,10 +232,10 @@ class JwtRegistry:
|
|
|
232
232
|
|
|
233
233
|
Structure of the return data:
|
|
234
234
|
{
|
|
235
|
-
"
|
|
236
|
-
"
|
|
237
|
-
"
|
|
238
|
-
"
|
|
235
|
+
"access-token": <jwt-token>,
|
|
236
|
+
"created-in": <timestamp>,
|
|
237
|
+
"expires-in": <seconds-to-expiration>,
|
|
238
|
+
"refresh-token": <jwt-token>
|
|
239
239
|
}
|
|
240
240
|
|
|
241
241
|
:param account_id: the account identification
|
|
@@ -312,10 +312,10 @@ class JwtRegistry:
|
|
|
312
312
|
headers={"kid": f"A{token_id}"})
|
|
313
313
|
# return the token data
|
|
314
314
|
return {
|
|
315
|
-
"
|
|
316
|
-
"
|
|
317
|
-
"
|
|
318
|
-
"
|
|
315
|
+
"access-token": access_token,
|
|
316
|
+
"created-in": current_claims.get("iat"),
|
|
317
|
+
"expires-in": current_claims.get("exp"),
|
|
318
|
+
"refresh-token": refresh_token
|
|
319
319
|
}
|
|
320
320
|
|
|
321
321
|
def __get_account_data(self,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pypomes_jwt
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.8
|
|
4
4
|
Summary: A collection of Python pomes, penyeach (JWT module)
|
|
5
5
|
Project-URL: Homepage, https://github.com/TheWiseCoder/PyPomes-JWT
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/TheWiseCoder/PyPomes-JWT/issues
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
pypomes_jwt/__init__.py,sha256=fLr_M8yXlcmSTNPMdJOJQlMmtaiK5YKh0vKjOp3z2E4,1446
|
|
2
|
+
pypomes_jwt/jwt_constants.py,sha256=IQV39AiZKGuU8XxZBgJ-KJZQZ_mmnxyOnRZeuxlqDRk,4045
|
|
3
|
+
pypomes_jwt/jwt_pomes.py,sha256=_aK1TjV4cJ96ERa3VzloU9VJZVktbee2QdBTMYxR1DE,20064
|
|
4
|
+
pypomes_jwt/jwt_registry.py,sha256=mASF2NxHK4jWNswqfDXPGGuv8RsSIvLh1MzldaBxdeA,21425
|
|
5
|
+
pypomes_jwt-0.9.8.dist-info/METADATA,sha256=q37-GtefddZ2WqtcHMh8wGtK8usua2to3g7w5aO5-Jc,632
|
|
6
|
+
pypomes_jwt-0.9.8.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
7
|
+
pypomes_jwt-0.9.8.dist-info/licenses/LICENSE,sha256=NdakochSXm_H_-DSL_x2JlRCkYikj3snYYvTwgR5d_c,1086
|
|
8
|
+
pypomes_jwt-0.9.8.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
pypomes_jwt/__init__.py,sha256=fLr_M8yXlcmSTNPMdJOJQlMmtaiK5YKh0vKjOp3z2E4,1446
|
|
2
|
-
pypomes_jwt/jwt_constants.py,sha256=IQV39AiZKGuU8XxZBgJ-KJZQZ_mmnxyOnRZeuxlqDRk,4045
|
|
3
|
-
pypomes_jwt/jwt_pomes.py,sha256=4-8qrfXt4y-auigVKPC_H6tTWBUZTjIPQM6yASnAgmc,20064
|
|
4
|
-
pypomes_jwt/jwt_registry.py,sha256=UgJ8eEE8odXUE57yXeozoHJjBDmNVZQCs4qee5IARJ8,21425
|
|
5
|
-
pypomes_jwt-0.9.7.dist-info/METADATA,sha256=SXGugukd0a4ghPNchPAL563zbxau5dggEjalvq7G0Wc,632
|
|
6
|
-
pypomes_jwt-0.9.7.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
7
|
-
pypomes_jwt-0.9.7.dist-info/licenses/LICENSE,sha256=NdakochSXm_H_-DSL_x2JlRCkYikj3snYYvTwgR5d_c,1086
|
|
8
|
-
pypomes_jwt-0.9.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|