sanic-security 1.11.7__tar.gz → 1.16.7__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- sanic_security-1.16.7/LICENSE +21 -0
- sanic_security-1.11.7/README.md → sanic_security-1.16.7/PKG-INFO +258 -134
- sanic_security-1.11.7/PKG-INFO → sanic_security-1.16.7/README.md +653 -591
- sanic_security-1.16.7/pyproject.toml +31 -0
- sanic_security-1.16.7/sanic_security/authentication.py +362 -0
- sanic_security-1.16.7/sanic_security/authorization.py +240 -0
- {sanic_security-1.11.7 → sanic_security-1.16.7}/sanic_security/configuration.py +42 -25
- {sanic_security-1.11.7 → sanic_security-1.16.7}/sanic_security/exceptions.py +58 -24
- {sanic_security-1.11.7 → sanic_security-1.16.7}/sanic_security/models.py +287 -161
- sanic_security-1.16.7/sanic_security/oauth.py +238 -0
- {sanic_security-1.11.7 → sanic_security-1.16.7}/sanic_security/test/server.py +174 -112
- {sanic_security-1.11.7 → sanic_security-1.16.7}/sanic_security/test/tests.py +137 -103
- sanic_security-1.16.7/sanic_security/utils.py +121 -0
- {sanic_security-1.11.7 → sanic_security-1.16.7}/sanic_security/verification.py +59 -46
- sanic_security-1.16.7/sanic_security.egg-info/PKG-INFO +685 -0
- sanic_security-1.16.7/sanic_security.egg-info/SOURCES.txt +20 -0
- sanic_security-1.16.7/sanic_security.egg-info/dependency_links.txt +1 -0
- sanic_security-1.16.7/sanic_security.egg-info/requires.txt +18 -0
- sanic_security-1.16.7/sanic_security.egg-info/top_level.txt +1 -0
- sanic_security-1.16.7/setup.cfg +4 -0
- sanic_security-1.11.7/LICENSE +0 -661
- sanic_security-1.11.7/pyproject.toml +0 -28
- sanic_security-1.11.7/sanic_security/authentication.py +0 -373
- sanic_security-1.11.7/sanic_security/authorization.py +0 -194
- sanic_security-1.11.7/sanic_security/test/__pycache__/__init__.cpython-39.pyc +0 -0
- sanic_security-1.11.7/sanic_security/test/__pycache__/server.cpython-39.pyc +0 -0
- sanic_security-1.11.7/sanic_security/test/__pycache__/tests.cpython-39.pyc +0 -0
- sanic_security-1.11.7/sanic_security/utils.py +0 -82
- {sanic_security-1.11.7 → sanic_security-1.16.7}/sanic_security/__init__.py +0 -0
- {sanic_security-1.11.7 → sanic_security-1.16.7}/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.
|