Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIError ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetDeviceCode ¶
func (*Client) PollDeviceCodeTokens ¶
type Credentials ¶
type Credentials struct { Version int `json:"version"` Services map[string]Tokens `json:"services"` }
func (*Credentials) AddTokens ¶
func (c *Credentials) AddTokens(uri string, tokens Tokens)
func (*Credentials) RemoveTokens ¶
func (c *Credentials) RemoveTokens(uri string)
func (*Credentials) Tokens ¶
func (c *Credentials) Tokens(uri string) *Tokens
type DeviceCodeResponse ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (Store) RemoveTokens ¶
Click to show internal directories.
Click to hide internal directories.