sanic-security 1.11.6__tar.gz → 1.16.6__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. sanic_security-1.16.6/LICENSE +21 -0
  2. sanic_security-1.11.6/README.md → sanic_security-1.16.6/PKG-INFO +258 -134
  3. sanic_security-1.11.6/PKG-INFO → sanic_security-1.16.6/README.md +653 -591
  4. sanic_security-1.16.6/pyproject.toml +31 -0
  5. sanic_security-1.16.6/sanic_security/authentication.py +362 -0
  6. sanic_security-1.16.6/sanic_security/authorization.py +240 -0
  7. {sanic_security-1.11.6 → sanic_security-1.16.6}/sanic_security/configuration.py +42 -25
  8. {sanic_security-1.11.6 → sanic_security-1.16.6}/sanic_security/exceptions.py +58 -24
  9. {sanic_security-1.11.6 → sanic_security-1.16.6}/sanic_security/models.py +287 -159
  10. sanic_security-1.16.6/sanic_security/oauth.py +238 -0
  11. {sanic_security-1.11.6 → sanic_security-1.16.6}/sanic_security/test/server.py +174 -112
  12. {sanic_security-1.11.6 → sanic_security-1.16.6}/sanic_security/test/tests.py +137 -103
  13. sanic_security-1.16.6/sanic_security/utils.py +121 -0
  14. {sanic_security-1.11.6 → sanic_security-1.16.6}/sanic_security/verification.py +59 -46
  15. sanic_security-1.16.6/sanic_security.egg-info/PKG-INFO +685 -0
  16. sanic_security-1.16.6/sanic_security.egg-info/SOURCES.txt +20 -0
  17. sanic_security-1.16.6/sanic_security.egg-info/dependency_links.txt +1 -0
  18. sanic_security-1.16.6/sanic_security.egg-info/requires.txt +18 -0
  19. sanic_security-1.16.6/sanic_security.egg-info/top_level.txt +1 -0
  20. sanic_security-1.16.6/setup.cfg +4 -0
  21. sanic_security-1.11.6/LICENSE +0 -661
  22. sanic_security-1.11.6/pyproject.toml +0 -28
  23. sanic_security-1.11.6/sanic_security/authentication.py +0 -373
  24. sanic_security-1.11.6/sanic_security/authorization.py +0 -193
  25. sanic_security-1.11.6/sanic_security/test/__pycache__/__init__.cpython-39.pyc +0 -0
  26. sanic_security-1.11.6/sanic_security/test/__pycache__/server.cpython-39.pyc +0 -0
  27. sanic_security-1.11.6/sanic_security/test/__pycache__/tests.cpython-39.pyc +0 -0
  28. sanic_security-1.11.6/sanic_security/utils.py +0 -82
  29. {sanic_security-1.11.6 → sanic_security-1.16.6}/sanic_security/__init__.py +0 -0
  30. {sanic_security-1.11.6 → sanic_security-1.16.6}/sanic_security/test/__init__.py +0 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Nicholas Aidan Stewart
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.