Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ConfigToken is the key used to store the token under ConfigToken = "token" // ConfigClientID is the config key used to store the client id ConfigClientID = "client_id" // ConfigClientSecret is the config key used to store the client secret ConfigClientSecret = "client_secret" // TitleBarRedirectURL is the OAuth2 redirect URL to use when the authorization // code should be returned in the title bar of the browser, with the page text // prompting the user to copy the code and paste it in the application. TitleBarRedirectURL = "urn:ietf:wg:oauth:2.0:oob" // RedirectURL is redirect to local webserver when active RedirectURL = "http://" + bindAddress + "/" )
Variables ¶
This section is empty.
Functions ¶
func Config ¶
Config does the initial creation of the token
It may run an internal webserver to receive the results
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.