Authsignal

Latest version: v3.0.0

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

Scan your dependencies

Page 1 of 2

3.0.0

Breaking Changes

1. **Action Code Deprecation in `validate_challenge`** (27):
The `action_code` field has been **deprecated** in favor of the `action` field in the `validate_challenge` response. If your integration relies on `action_code`, please update it to use `action` instead.

2. **Renamed `delete_user_authenticator` to `delete_authenticator`** (25):
The `delete_user_authenticator` method has been renamed to `delete_authenticator`. Ensure any calls to delete authenticators are updated, as the previous method name is no longer recognized.

Other Changes

- **Centralized Error Handling** (28):
Error handling has been centralized to streamline and standardize responses across different parts of the application. This change improves consistency in error responses.

- **Omit Null Values in Requests by Default** (26):
Requests now omit null values by default to align more closely with the behavior of our other SDKs. This adjustment enhances consistency across our ecosystem.

2.0.7

Changes

- **Add `action` option in `validate_challenge` method**: Ensures that the validated action matches the tracked action when the `action` parameter is provided.
- **Removed redundant `API_CHALLENGE_URL`**.
- **Automatically append `/v1` to `api_url` if not provided**.

2.0.6

None

2.0.5

Release Notes

New Features

`delete_user`
- **Description**: This method allows for the deletion of a user from Authsignal.
- **Parameters**:
- `user_id (string)`: The unique identifier of the user to be deleted.
- **Returns**: {"success": True}

`delete_user_authenticator`
- **Description**: This method securely deletes a user's authenticator.
- **Parameters**:
- `user_id (string)`: The unique identifier of the user.
- **Returns**: {"success": True}

`update_user`
- **Description**: Updates the details of an existing user.
- **Parameters**:
- `user_id (string)`: The user's unique identifier.
- `data (dict)`: Updated user details.
- **Returns**: The updated user

2.0.3

2.0.2

Fix build issue caused by securesystemslib

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.