Sanic-security

Latest version: v1.14.1

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

Scan your dependencies

Page 10 of 33

1.4.4

+ Previous client session is deactivated when a new one is requested (for example when requesting captcha).
+ Two-factor authentication fix and error message clarification.
+ Documentation revision.

1.4.3

+ Login credentials are received via authorization header.
+ Tests revised accordingly to use authorization header.
+ Major documentation revisions.
+ `MAX_ATTEMPTS_ALLOWED` configuration field added.
+ `CredentialsError` exception implemented for an invalid login.
+ `JWTDecodeError` exception implemented if an error occurs during session JWT decoding.
+ `ChallengeError` exception implemented if a verification session challenge attempt is incorrect.
+ `crosscheck_code` method renamed to `check_code`

1.4.2

+ `validate_location` renamed to `check_client_location`.
+ `UnrecognisedLocationError` now raised instead of `SessionError` when checking client location.

1.4.1

+ Improved refresh token reuse protection.
+ `crosscheck_location` renamed to `validate_location`.
+ Sessions marked as deleted won't be taken into consideration during location validation.

1.4.0

+ Authorization revamp. `Permission` object removed as permissions are stored in a `Role` object. An account's roles can be accessed via the `roles` variable value via a many-to-many relationship.
+ Session access/refresh token's.
+ Model revisions.
+ Improved registration error handling.
+ Password character limit check during registration.
+ Uid removed.
+ Test improvements.
+ Documentation revisions.

1.3.3

+ Setup.py optional development dependencies.

Page 10 of 33

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.