Documentation ¶
Index ¶
Constants ¶
View Source
const ( // 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 + "/" // RedirectPublicURL is redirect to local webserver when active with public name RedirectPublicURL = "http://localhost.rclone.org:" + bindPort + "/" // RedirectLocalhostURL is redirect to local webserver when active with localhost RedirectLocalhostURL = "http://localhost:" + bindPort + "/" )
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.