Sanic-security

Latest version: v1.12.2

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

Scan your dependencies

Page 8 of 31

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.

1.3.2

+ Edge case scenario where session expiration is disabled but client session expiration is true has been mitigated.

Page 8 of 31

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.