Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InteractiveLogin ¶
InteractiveLogin lets the user set configuration on the command line
func SuccessMessage ¶
SuccessMessage returns the display message for a successfully authenticated user
Types ¶
type PollAPIKeyResponse ¶
type PollAPIKeyResponse struct {
Claimed bool `json:"claimed"`
UserID string `json:"user_id"`
UserName string `json:"user_name"`
TeamID string `json:"team_id"`
TeamName string `json:"team_name"`
APIKey string `json:"key"`
ClientID string `json:"client_id"`
}
PollAPIKeyResponse returns the data of the polling client login
func PollForKey ¶
func PollForKey(pollURL string, interval time.Duration, maxAttempts int) (*PollAPIKeyResponse, error)
PollForKey polls Hookdeck at the specified interval until either the API key is available or we've reached the max attempts.
Click to show internal directories.
Click to hide internal directories.