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

differentiate between app and user access tokens #11

Open
LosFarmosCTL opened this issue Mar 15, 2024 · 0 comments
Open

differentiate between app and user access tokens #11

LosFarmosCTL opened this issue Mar 15, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@LosFarmosCTL
Copy link
Owner

Some API endpoints do not necessarily require a user access token, but can work with just an app access token as well. Right now, the credentials required by the TwitchClient contain a mandatory user ID, which would not be applicable for app access tokens.

There should be a differentiation between endpoints that require user access tokens and ones that do not (should be possible using generics?) and an option to create a TwitchClient with an app access token, that accepts a limited number of endpoints.

@LosFarmosCTL LosFarmosCTL added the enhancement New feature or request label Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant