-
Notifications
You must be signed in to change notification settings - Fork 314
allow setting the authority_host with TokenCredentialOptions #71
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
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.
Nice work!
Just minor nitpicks to keep the code simpler.
sdk/identity/src/token_credentials/client_secret_credentials.rs
Outdated
Show resolved
Hide resolved
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.
Mostly looks good, but I share some of the small concerns @MindFlavor has expressed.
sdk/identity/src/token_credentials/client_secret_credentials.rs
Outdated
Show resolved
Hide resolved
sdk/identity/src/token_credentials/client_secret_credentials.rs
Outdated
Show resolved
Hide resolved
Thanks for the feedback. I addressed the concerns in dce2d25. Please approve this & the other PR. |
sdk/identity/src/token_credentials/client_secret_credentials.rs
Outdated
Show resolved
Hide resolved
sdk/identity/src/token_credentials/client_secret_credentials.rs
Outdated
Show resolved
Hide resolved
This is waiting on @MindFlavor's re-review. |
This ports support for setting an
authority_host
, so another Azure Cloud instance can be used. I ported code from:links
https://devblogs.microsoft.com/azure-sdk/azure-identity-august-2020-ga/