-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[core-auth] Change GetTokenOptions to be based on OperationOptions #5899
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Happy with the changes. Timeout is still not plumbed in most credential types - we should fix this soon.
Let's run keyvault tests to ensure the credentials continue to work in practice.
/azp run js - keyvault - ci |
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
/azp run js - keyvault-keys - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run js - keyvault-secrets - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
Approved by adpship. |
This PR changes
GetTokenOptions
to be solely based on the newOperationOptions
to achieve better consistency with the API signatures in other Track 2 client libraries. For now I'm duplicating the shapes ofOperationOptions
and its constituent types becausecore-auth
shouldn't take a circular dependency oncore-http
. We will reorganize things in the future so that this won't be necessary.Fixes #5900