Sanic-security

Latest version: v1.14.1

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

Scan your dependencies

Page 8 of 33

1.8.0

+ Refresh authentication rollback.
+ Documentation revisions.

1.7.1

+ Refresh authentication improvements.
+ Methods `decode_to_refresh()` and `validate_refresh()` implemented in `AuthenticationSession`
+ `refresh_authentication()` method revised.

1.7.0

+ On-the-fly verification code and captcha image generation.
+ `SessionFactory` removed and replaced with `new()` class method.
+ `redeem()` method removed and code moved to `refresh_authentication()` method.
+ `refresh_expiration_date` field added to `AuthenticationSession`.
+ Util methods `get_code()` and `get_expiration_date()` implemented.
+ `CaptchaSession` method `get_image()` returns `raw()` instead of `file()` and is no longer async.
+ `assign_role()` method parameters `permissions` and `description` are optional.
+ Test server and client revisions.
+ `logout()` method will raise error if session is already deactivated.
+ Unrecognized location check removed.
+ `CACHE` configuration field removed.
+ Licensing revision.
+ Log message revisions.
+ Documentation revisions.

1.6.0

* Account logout revision.
* Two-factor authentication rollback.
* Documentation revisions.

1.5.0

+ Improved type hinting on model variables and methods.
+ Improved two-step session code generation. It is recommended to clear your cache due to these changes.
+ `generate_initial_admin` renamed to `create_initial_admin_account`.
+ Documentation revisions.

1.4.11

+ Initial admin account generation improvements.

Page 8 of 33

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.