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

fix the keyCredential issue #4412

Merged
merged 2 commits into from
Sep 12, 2024

Conversation

ArcturusZhang
Copy link
Member

@ArcturusZhang ArcturusZhang commented Sep 12, 2024

Fixes #4411
This change gives the azure plugin the ability to change the type of the credentials, but it will still have to override everything in ClientProvider to use the token credential.
Maybe only a credential abstraction change could solve it, but it needs more discussions.

@microsoft-github-policy-service microsoft-github-policy-service bot added the emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp label Sep 12, 2024
@ArcturusZhang ArcturusZhang marked this pull request as ready for review September 12, 2024 01:06
@azure-sdk
Copy link
Collaborator

API change check

APIView has identified API level changes in this PR and created following API reviews.

Microsoft.Generator.CSharp.ClientModel

@ArcturusZhang ArcturusZhang added this pull request to the merge queue Sep 12, 2024
Merged via the queue into microsoft:main with commit f9ae0a1 Sep 12, 2024
21 checks passed
@ArcturusZhang ArcturusZhang deleted the credential-type-changes branch September 12, 2024 03:22
sarangan12 pushed a commit to sarangan12/typespec that referenced this pull request Sep 16, 2024
Fixes microsoft#4411
This change gives the azure plugin the ability to change the type of the
credentials, but it will still have to override everything in
ClientProvider to use the token credential.
Maybe only a credential abstraction change could solve it, but it needs
more discussions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The KeyCredentialType is mistakenly named as TokenCredentialType
3 participants