pub static TOKEN_URL: Lazy<Url>
Expand description

Token URL (https://id.twitch.tv/oauth2/token) for id.twitch.tv

Can be overridden when feature mock_api is enabled with environment variable TWITCH_OAUTH2_URL to set the root path, or with TWITCH_OAUTH2_TOKEN_URL to override the base (https://id.twitch.tv/oauth2/) url.

§Examples

Set the environment variable TWITCH_OAUTH2_URL to http://localhost:8080/auth/ to use twitch-cli mock endpoints.