Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrTimeout = errors.New("authentication timed out — please try again")
Functions ¶
func FetchRuntimes ¶ added in v1.3.0
Types ¶
type AuthResponse ¶
type AuthResponse struct {
AccessToken string `json:"access_token"`
RefreshToken string `json:"refresh_token"`
UserId string `json:"id"`
Login string `json:"login"`
}
func RefreshToken ¶
func RefreshToken(refreshToken string, apiURL string) (*AuthResponse, error)
Click to show internal directories.
Click to hide internal directories.