package
0.0.0-20160222163258-40d72ab9641a
Repository: https://github.com/juju/go4.git
Documentation: pkg.go.dev
# Functions
NewRefreshTokenSource returns a token source that obtains its initial token based on the provided config and the refresh token.
# Constants
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.
# Variables
ErrNoAuthCode is returned when Token() has not found any valid cached token and TokenSource does not have an AuthCode for getting a new token.
# Structs
TokenSource is an implementation of oauth2.TokenSource.