Static twitch_oauth2::TOKEN_URL [−][src]
pub static TOKEN_URL: Lazy<Url>
Expand description
Token URL (/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 full url.
Examples
Set the environment variable TWITCH_OAUTH2_URL
to http://localhost:8080/auth/
to use twitch-cli
mock endpoints.