pub static DEVICE_URL: Lazy<Url>Expand description
Device URL (https://id.twitch.tv/oauth2/device) 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_DEVICE_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.