octokit / dotnet-sdk

MIT License
55 stars 8 forks source link

[DOCS]: Example on how to create a `GitHubClient` with different authentication providers #122

Open ElanHasson opened 1 week ago

ElanHasson commented 1 week ago

Describe the need

I have a system where users can provide PATs to use the GH API via our system.

We would like to be able to create a new authentication provider each time, however since the the client factory is immutable it doesn't seem to be possible.

I'm probably missing something, any guidance is welcome!

SDK Version

No response

API Version

No response

Code of Conduct

github-actions[bot] commented 1 week ago

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

kfcampbell commented 16 hours ago

Hmm...I'm not sure I understand what you're after, sorry! Do you mind providing a little more detail, and/or maybe an imaginative code snippet that would reflect what you're looking for?