duosecurity / duo_client_python

Python library for interacting with the Duo Auth, Admin, and Accounts APIs
https://duo.com/docs/
Other
136 stars 136 forks source link

feat: add get_passport_config() to client.Admin #272

Closed MarkTripod-Duo closed 3 months ago

MarkTripod-Duo commented 3 months ago

Tested-by: new test case in tests/test_passport.py

Description

Add new get_passport_config() method to client.Admin to accommodate the recent addition to the Admin API

Motivation and Context

Ensure continued parity between the documented public Admin API endpoints and library functionality

How Has This Been Tested?

New test case test_passport.py was added to validate the new method

Types of Changes