Skip to content
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

Enable updating client assertions via callback #319

Merged
merged 6 commits into from
Jul 1, 2022

Conversation

chlowell
Copy link
Collaborator

This closes #292 by replacing the static string assertion with a callback that enables applications to generate assertions as needed. Following up on #313 (comment), I also removed assertion caching; Credential will now acquire or create a new assertion for each token request.

@chlowell chlowell added the enhancement New feature or request label Jun 14, 2022
Copy link
Contributor

@rayluo rayluo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Discussed with Charles offline. This PR's introduction of an assert callback looks good to me.

@chlowell chlowell requested review from bgavrilMS and removed request for rayluo June 20, 2022 17:24
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@chlowell chlowell requested a review from keegan-caruso June 23, 2022 22:30
Copy link
Member

@bgavrilMS bgavrilMS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chlowell chlowell merged commit 73fbd42 into dev Jul 1, 2022
@chlowell chlowell deleted the chlowell/assertion-callback branch July 1, 2022 18:03
@rayluo rayluo mentioned this pull request Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request] Simplify updating client assertions
5 participants