Duo-client

Latest version: v5.4.0

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

Scan your dependencies

Page 1 of 4

5.4.0

Changes:
- Updated various docstrings that were out of date
- Updated the integrations endpoints to the latest version of the API
- Added methods to manage Duo Passport configuration via API
- Added method for calling the "calculate policy" API
- Added method for fetching an integration Secret Key
- Added and corrected code and examples for Duo Dekstop configuration APIs
- Added support for new parameters to the "allowed admin auth methods" API call
- Added support for a new parameter to the user enrollment API call
- Removed some leftover traces of Python 2 support

5.3.0

Changes
- Verified Push support has been added to the Auth API client
- Additional options have been added to the 'settings' methods
- Additional options for authentication log retrieval have been added
- General improvement and cleanup of the example scripts

5.2.0

Changes
- The client now enforces the documented API usage that requires the child account hostname when using Admin API with Accounts API. If the child account hostname is not provided, the client will look up the correct hostname value.
- Provides bulk policy API methods

5.1.0

Changes:
- Updates the bulk user operation API endpoints to simplify the parameter list
- Exposes additional options on some settings, bypass codes, and policy endpoints
- Migrates all API calls to default to the latest authentication header specification
- Adds a policy summary endpoint

5.0.1

Changes:

- Correctly handles metadata parsing for all kinds of responses (219)

5.0.0

Changes:

- Dropping support for Python versions below 3.7.
- Fixed bug causing result paging to not work for certain endpoints (201).
- Added support for the [Policy v2 endpoint](https://duo.com/docs/adminapi#policy) (208).
- Added support for SNI for SSL/TLS connection (211).

Page 1 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.