Square-authentication

Latest version: v4.2.1

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

Scan your dependencies

Page 1 of 2

4.2.1

- fix output format in validate_and_get_payload_from_token/v0.
- add db check refresh token validation in validate_and_get_payload_from_token/v0.

**Full Changelog**: https://github.com/thepmsquare/square_authentication/compare/4.2.0...4.2.1

4.2.0

- add validate_and_get_payload_from_token/v0 in core.

**Full Changelog**: https://github.com/thepmsquare/square_authentication/compare/4.1.0...4.2.0

4.1.0

- add get_text_hash/v0 in utils.

**Full Changelog**: https://github.com/thepmsquare/square_authentication/compare/4.0.1...4.1.0

4.0.1

bugfix in pydantic model import.

**Full Changelog**: https://github.com/thepmsquare/square_authentication/compare/4.0.0...4.0.1

4.0.0

- /login_username/v0 is now POST method.
- new flag in /login_username/v0 assign_app_id_if_missing.
- bugfix: /get_user_details/v0 now only returns number of active sessions.

**Full Changelog**: https://github.com/thepmsquare/square_authentication/compare/3.0.0...4.0.0

3.0.0

added new endpoints
/update_username/v0
/delete_user/v0
/update_password/v0
move data in password related endpoints to request body from params.
/register_username/v0 now takes in app_id as optional parameter to assign user to that app and create session for it.
/generate_access_token/v0 now only needs refresh token (removed validation).
/logout/v0 now only needs refresh token (removed validation).
/update_user_app_ids/v0 now only updates ids for self (user). added access token as input param and removed user_id.
/get_user_app_ids/v0 is now /get_user_details/v0 with access token as the only input param.

**Full Changelog**: https://github.com/thepmsquare/square_authentication/compare/2.0.0...3.0.0

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.