Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteToken ¶
func DeleteToken() error
func GetTokenPath ¶
func GetTokenPath() string
func SaveToken ¶
func SaveToken(token *StoredToken) error
Types ¶
type OAuthClient ¶
type OAuthClient struct {
// contains filtered or unexported fields
}
func NewOAuthClient ¶
func NewOAuthClient(clientID, clientSecret string) *OAuthClient
func (*OAuthClient) Login ¶
func (o *OAuthClient) Login() (*StoredToken, error)
Click to show internal directories.
Click to hide internal directories.