twitch-oauth-cli

command module
v0.0.0-...-4244805 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2021 License: MIT Imports: 9 Imported by: 0

README

twitch-oauth-cli

Twitch Oauth utility.

Usage

go install github.com/tracy-and-matt/twitch-oauth-cli@latest

twitch-oauth-cli \
  -client-id xxx \
  -client-secret xxx \
  -scopes "user:read:email chat:read"

Example output

Please visit the following URL in your browser:

https://id.twitch.tv/oauth2/authorize?client_id=xxx&redirect_uri=http%3A%2F%2Flocalhost%3A7000&response_type=code&scope=user%3Aread%3Aemail+chat%3Aread&state=dummystate

          Token Type: bearer
        Access Token: xxx
Access Token Expires: 2021-04-10T02:28:51Z
       Refresh Token: xxx

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL