Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PollAuthRequest ¶
func PollAuthRequest(verification *VerificationResponse, ch chan string)
Types ¶
type AuthorizedResponse ¶
type TokenSource ¶
type TokenSource struct{}
type VerificationResponse ¶
type VerificationResponse struct { DeviceCode string `json:"device_code"` ExpiresIn int `json:"expires_in"` Interval int `json:"interval"` UserCode string `json:"user_code"` VerificationURI string `json:"verification_uri"` }
func Login ¶
func Login() (*VerificationResponse, error)
Click to show internal directories.
Click to hide internal directories.