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

[Feature Request] Simplify updating client assertions #292

Closed
chlowell opened this issue Feb 8, 2022 · 0 comments · Fixed by #319
Closed

[Feature Request] Simplify updating client assertions #292

chlowell opened this issue Feb 8, 2022 · 0 comments · Fixed by #319
Labels
AzureSdk enhancement New feature or request

Comments

@chlowell
Copy link
Collaborator

chlowell commented Feb 8, 2022

Because client assertions are baked into Credential instances, which are in turn baked into confidential.Client instances, it's necessary to create a new instance of each when an assertion expires. Assertions will commonly expire, so it would be great to have a more efficient API for rotating them in MSAL. For example, instead of a string parameter, NewCredFromAssertion() could take a callback that returns assertions (something like a func (context.Context) (string, error)).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AzureSdk enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant