Sanic-security

Latest version: v1.14.1

Safety actively analyzes 682382 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 16 of 33

0.10.7.0

+ `allow_unverified` parameter removed from `requires_two_step_verification` decorator method
+ Unit test improvements
+ Role authorization fixes
+ `InvalidIdentifierError` exception removed
+ `verify_account` requires a Sanic request to be passed instead of a two-step session
+ Middleware removed
+ Documentation revisions

0.10.6.0

+ `second_factor` renamed to `validate_second_factor`
+ Tables in database `authenticationsession`, `captchasession`, and `twostepsession` have been renamed to `authentication_session`, `captcha_session`, and `two_step_session` to conform with convention. New tables will be generated or current tables must be renamed
+ Unit test changes
+ More account retrieval methods such as retrieving via phone or username
+ Documentation revisions

0.10.5.0

+ Session decode method is now a class method
+ Tag parameter added to session decode and encode method. A tag is an identifier applied to encoded session cookie.
+ Session factory has a **kwargs for extra arguments applied to session creation
+ Two-factor authentication
+ A `two_factor` variable has been added to the `AuthentcationSession` model. If the table associated to this model already exists on your database, you must add a column called `two_factor` with the boolean datatype. You can also simply drop the table and let Sanic Security regenerate it for you
+ Unit test improvements
+ Documentation revisions and changes

0.10.4.5

+ Final documentation changes and revisions

0.10.4.2

+ Dependency versioning improvements

0.10.4.1

+ Tortoise ORM documentation and usage example

Page 16 of 33

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.