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 AuthFileCredential and its unit test to identity #7031

Closed
wants to merge 6 commits into from
Closed

Add AuthFileCredential and its unit test to identity #7031

wants to merge 6 commits into from

Conversation

zzhxiaofeng
Copy link
Contributor

@zzhxiaofeng zzhxiaofeng commented Jan 20, 2020

Following Azure/azure-sdk-for-net#9312, I add the AuthFileCredential in JS and its unit test. However, the unit test “SdkAuthFileEnsureCredentialParsesCorrectly” in C# is not completed. In this unit test of C#, it uses reflection to get the private field "_credential" which type is TokenCredential. Finally, casting the type TokenCredential to type ClientSecretCredential by using"as", then get the property "clientId","tenantId" and "clientSecret" to authenticate. We can't use reflection to do the similar things and don't have the convertion from parent class to child class like C#.

@jongio
Copy link
Member

jongio commented Mar 9, 2020

@jonathandturner @schaabs - Can you help get us to sign off for April release? Thanks, Jon

@jongio
Copy link
Member

jongio commented Mar 23, 2020

This is on hold pending further discussion

@tzhanl tzhanl closed this Apr 29, 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.

5 participants