We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Right now twitch token has the ability to revoke, such as:
twitch token
twitch token --client-id CLIENT_ID --revoke OAUTH_TOKEN
In a similar fashion, we should have a way to validate tokens:
twitch token --validate OAUTH_TOKEN
This would return information similar to Barry's Token Checker, which uses the /oauth2/validate endpoint.
The text was updated successfully, but these errors were encountered:
Is the CLI capable of doing ||s with if a CLI parameter is present?
||
Could you theoretically do
twitch token --validate OAUTH_TOKEN --revoke twitch token --validate --revoke OAUTH_TOKEN
without having to do
twitch token --validate OAUTH_TOKEN --revoke OAUTH_TOKEN
Sorry, something went wrong.
Ideally, you would validate or revoke. Doing both doesn't provide much since revoke requires a valid token, and will fail if the token is not valid.
Added in #277
No branches or pull requests
Tell us about your feature request
Right now
twitch token
has the ability to revoke, such as:In a similar fashion, we should have a way to validate tokens:
This would return information similar to Barry's Token Checker, which uses the /oauth2/validate endpoint.
Disclaimer
The text was updated successfully, but these errors were encountered: