Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LookupCurrentToken ¶
LookupCurrentToken retrieves the token for the current base URL.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) PollDeviceAuth ¶
func (*Client) StartDeviceAuth ¶
func (c *Client) StartDeviceAuth(ctx context.Context) (*DeviceAuthStart, error)
type DeviceAuthPoll ¶
type DeviceAuthStart ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store manages CLI authentication tokens in the OS keyring.
func NewStoreWithService ¶
NewStoreWithService returns a Store with a custom keyring service name (for testing).
func (*Store) DeleteToken ¶
DeleteToken removes a stored token for the given base URL.
Click to show internal directories.
Click to hide internal directories.