readURLAndParseKey

Reads a URL from standard in and parses an OAuth key from it.

version(TwitchSupport && WithTwitchPlugin)
private
readURLAndParseKey

Parameters

plugin TwitchPlugin

The current TwitchPlugin.

authNode string

Authentication node URL, to detect whether the wrong link was pasted.

Return Value

Type: auto

An OAuth token key parsed from a pasted URL string.