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

Add EnvVar AuthorityHost #10780

Merged
merged 8 commits into from
Apr 6, 2020
Merged

Add EnvVar AuthorityHost #10780

merged 8 commits into from
Apr 6, 2020

Conversation

XuGuang-Yao
Copy link
Contributor

Added EnvVar AuthorityHost to EnvironmentVariables.cs.
TokenCredentialOptions has an AuthorityHost property.
This will be modified to support EnvVar override with EnvironmentVariables.AuthorityHost.
Azure/azure-sdk-for-java/issues/5967

@XuGuang-Yao XuGuang-Yao marked this pull request as ready for review March 23, 2020 06:28
@XuGuang-Yao XuGuang-Yao requested a review from schaabs as a code owner March 23, 2020 06:28
@tzhanl tzhanl requested a review from jongio March 23, 2020 06:37
@schaabs schaabs self-requested a review March 25, 2020 21:59
Copy link
Member

@schaabs schaabs left a comment

Choose a reason for hiding this comment

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

@XuGuang-Yao could you make the change to read the environment variable in the AuthorityHost property get accessor only when the property hasn't been set as suggested above?

Copy link
Member

@ellismg ellismg left a comment

Choose a reason for hiding this comment

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

LGTM.

@jongio
Copy link
Member

jongio commented Mar 27, 2020

Can you add tests please?

@XuGuang-Yao XuGuang-Yao changed the base branch from FixENVVars to master March 31, 2020 01:33
@schaabs schaabs merged commit 3cc4569 into Azure:master Apr 6, 2020
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.

4 participants