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

[tcgc] Verify different ways to authenticate in same package work #1553

Open
4 tasks done
iscai-msft opened this issue Sep 17, 2024 · 0 comments
Open
4 tasks done

[tcgc] Verify different ways to authenticate in same package work #1553

iscai-msft opened this issue Sep 17, 2024 · 0 comments
Assignees
Labels
lib:tcgc Issues for @azure-tools/typespec-client-generator-core library

Comments

@iscai-msft
Copy link
Contributor

Clear and concise description of the problem

Post from the teams channel

In the Messaging package we have 4 clients, can 3 of the clients be using ApiKeyAuth and 1 of the client uses BearerAuth with ACS token? If so how can this be achieved with TypeSpec?

image
I tried doing it like thus and another @useAuth(BeareAuthr) on the client that uses ACS token, but does not seem to work.

Want to verify that this works in tcgc. If it doesn't work, will fix

Checklist

  • Follow our Code of Conduct
  • Check that this issue is about the Azure libraries for typespec. For feature request in the typespec language or core libraries file it in the TypeSpec repo
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
@iscai-msft iscai-msft added the lib:tcgc Issues for @azure-tools/typespec-client-generator-core library label Sep 17, 2024
@iscai-msft iscai-msft self-assigned this Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lib:tcgc Issues for @azure-tools/typespec-client-generator-core library
Projects
None yet
Development

No branches or pull requests

1 participant