square-authentication 8.0.1__tar.gz → 8.0.2__tar.gz

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.
Files changed (32) hide show
  1. {square_authentication-8.0.1 → square_authentication-8.0.2}/PKG-INFO +7 -1
  2. {square_authentication-8.0.1 → square_authentication-8.0.2}/README.md +6 -0
  3. {square_authentication-8.0.1 → square_authentication-8.0.2}/setup.py +1 -1
  4. {square_authentication-8.0.1 → square_authentication-8.0.2}/square_authentication/routes/core.py +2 -0
  5. {square_authentication-8.0.1 → square_authentication-8.0.2}/square_authentication.egg-info/PKG-INFO +7 -1
  6. {square_authentication-8.0.1 → square_authentication-8.0.2}/pyproject.toml +0 -0
  7. {square_authentication-8.0.1 → square_authentication-8.0.2}/setup.cfg +0 -0
  8. {square_authentication-8.0.1 → square_authentication-8.0.2}/square_authentication/__init__.py +0 -0
  9. {square_authentication-8.0.1 → square_authentication-8.0.2}/square_authentication/configuration.py +0 -0
  10. {square_authentication-8.0.1 → square_authentication-8.0.2}/square_authentication/data/config.sample.ini +0 -0
  11. {square_authentication-8.0.1 → square_authentication-8.0.2}/square_authentication/data/config.testing.sample.ini +0 -0
  12. {square_authentication-8.0.1 → square_authentication-8.0.2}/square_authentication/main.py +0 -0
  13. {square_authentication-8.0.1 → square_authentication-8.0.2}/square_authentication/messages.py +0 -0
  14. {square_authentication-8.0.1 → square_authentication-8.0.2}/square_authentication/pydantic_models/__init__.py +0 -0
  15. {square_authentication-8.0.1 → square_authentication-8.0.2}/square_authentication/pydantic_models/core.py +0 -0
  16. {square_authentication-8.0.1 → square_authentication-8.0.2}/square_authentication/pydantic_models/profile.py +0 -0
  17. {square_authentication-8.0.1 → square_authentication-8.0.2}/square_authentication/routes/__init__.py +0 -0
  18. {square_authentication-8.0.1 → square_authentication-8.0.2}/square_authentication/routes/profile.py +0 -0
  19. {square_authentication-8.0.1 → square_authentication-8.0.2}/square_authentication/routes/utility.py +0 -0
  20. {square_authentication-8.0.1 → square_authentication-8.0.2}/square_authentication/utils/__init__.py +0 -0
  21. {square_authentication-8.0.1 → square_authentication-8.0.2}/square_authentication/utils/core.py +0 -0
  22. {square_authentication-8.0.1 → square_authentication-8.0.2}/square_authentication/utils/encryption.py +0 -0
  23. {square_authentication-8.0.1 → square_authentication-8.0.2}/square_authentication/utils/token.py +0 -0
  24. {square_authentication-8.0.1 → square_authentication-8.0.2}/square_authentication.egg-info/SOURCES.txt +0 -0
  25. {square_authentication-8.0.1 → square_authentication-8.0.2}/square_authentication.egg-info/dependency_links.txt +0 -0
  26. {square_authentication-8.0.1 → square_authentication-8.0.2}/square_authentication.egg-info/requires.txt +0 -0
  27. {square_authentication-8.0.1 → square_authentication-8.0.2}/square_authentication.egg-info/top_level.txt +0 -0
  28. {square_authentication-8.0.1 → square_authentication-8.0.2}/tests/test_1.py +0 -0
  29. {square_authentication-8.0.1 → square_authentication-8.0.2}/tests/test_delete_user.py +0 -0
  30. {square_authentication-8.0.1 → square_authentication-8.0.2}/tests/test_login.py +0 -0
  31. {square_authentication-8.0.1 → square_authentication-8.0.2}/tests/test_update_profile.py +0 -0
  32. {square_authentication-8.0.1 → square_authentication-8.0.2}/tests/test_username.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: square_authentication
3
- Version: 8.0.1
3
+ Version: 8.0.2
4
4
  Summary: authentication layer for my personal server.
5
5
  Home-page: https://github.com/thepmsquare/square_authentication
6
6
  Author: thePmSquare
@@ -54,6 +54,12 @@ pip install square_authentication
54
54
 
55
55
  ## changelog
56
56
 
57
+ ### v8.0.2
58
+
59
+ - core
60
+ - add refresh_token_expiry_time in output for reset_password_and_login_using_backup_code_v0 and
61
+ reset_password_and_login_using_reset_email_code_v0.
62
+
57
63
  ### v8.0.1
58
64
 
59
65
  - core
@@ -16,6 +16,12 @@ pip install square_authentication
16
16
 
17
17
  ## changelog
18
18
 
19
+ ### v8.0.2
20
+
21
+ - core
22
+ - add refresh_token_expiry_time in output for reset_password_and_login_using_backup_code_v0 and
23
+ reset_password_and_login_using_reset_email_code_v0.
24
+
19
25
  ### v8.0.1
20
26
 
21
27
  - core
@@ -4,7 +4,7 @@ package_name = "square_authentication"
4
4
 
5
5
  setup(
6
6
  name=package_name,
7
- version="8.0.1",
7
+ version="8.0.2",
8
8
  packages=find_packages(),
9
9
  package_data={
10
10
  package_name: ["data/*"],
@@ -2695,6 +2695,7 @@ async def reset_password_and_login_using_backup_code_v0(
2695
2695
  "user_id": user_id,
2696
2696
  "access_token": local_str_access_token,
2697
2697
  "refresh_token": local_str_refresh_token,
2698
+ "refresh_token_expiry_time": local_object_refresh_token_expiry_time.isoformat(),
2698
2699
  }
2699
2700
  },
2700
2701
  )
@@ -3227,6 +3228,7 @@ async def reset_password_and_login_using_reset_email_code_v0(
3227
3228
  "user_id": user_id,
3228
3229
  "access_token": local_str_access_token,
3229
3230
  "refresh_token": local_str_refresh_token,
3231
+ "refresh_token_expiry_time": local_object_refresh_token_expiry_time.isoformat(),
3230
3232
  }
3231
3233
  },
3232
3234
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: square_authentication
3
- Version: 8.0.1
3
+ Version: 8.0.2
4
4
  Summary: authentication layer for my personal server.
5
5
  Home-page: https://github.com/thepmsquare/square_authentication
6
6
  Author: thePmSquare
@@ -54,6 +54,12 @@ pip install square_authentication
54
54
 
55
55
  ## changelog
56
56
 
57
+ ### v8.0.2
58
+
59
+ - core
60
+ - add refresh_token_expiry_time in output for reset_password_and_login_using_backup_code_v0 and
61
+ reset_password_and_login_using_reset_email_code_v0.
62
+
57
63
  ### v8.0.1
58
64
 
59
65
  - core