Skip to content

feat: add optional audience parameter to credential exchange related methods #419

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

mconflitti-pbc
Copy link
Collaborator

@mconflitti-pbc mconflitti-pbc commented Jul 3, 2025

  • Adds in support for the optional audience parameter for the credential exchange endpoint to determine which integration to use
  • Removes "only 1 association" constraint on updating content's oauth integration associations.
  • Adds find_by helper method for integrations and associations to allow a user to search available integrations (globally or scoped to a specific piece of content) to get the GUID for the integration they need dynamically.

@mconflitti-pbc mconflitti-pbc self-assigned this Jul 3, 2025
Copy link

github-actions bot commented Jul 3, 2025

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
1976 1861 94% 0% 🟢

New Files

File Coverage Status
src/posit/connect/oauth/types.py 100% 🟢
TOTAL 100% 🟢

Modified Files

File Coverage Status
src/posit/connect/client.py 99% 🟢
src/posit/connect/content.py 99% 🟢
src/posit/connect/external/aws.py 100% 🟢
src/posit/connect/external/databricks.py 94% 🟢
src/posit/connect/external/snowflake.py 92% 🟢
src/posit/connect/oauth/associations.py 94% 🟢
src/posit/connect/oauth/integrations.py 98% 🟢
src/posit/connect/oauth/oauth.py 96% 🟢
TOTAL 97% 🟢

updated for commit: dfbd8a0 by action🐍

@mconflitti-pbc mconflitti-pbc changed the title draft: feat: add optional audience parameter to credential exchange related methods feat: add optional audience parameter to credential exchange related methods Jul 8, 2025
@mconflitti-pbc mconflitti-pbc force-pushed the mconflitti/add-multiple-association-support branch from 1ad3462 to ef3d299 Compare July 8, 2025 20:03
@mconflitti-pbc mconflitti-pbc marked this pull request as ready for review July 15, 2025 19:34
@nealrichardson nealrichardson requested a review from amol- July 16, 2025 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants