Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintPostLogin ¶
func PrintPostLogin(c Credentials)
func Save ¶
func Save(c Credentials) error
Types ¶
type Credentials ¶
type Credentials struct {
AuthToken string `json:"auth_token,omitempty"` // legacy
AccessToken string `json:"access_token,omitempty"`
RefreshToken string `json:"refresh_token,omitempty"`
ExpiresAt time.Time `json:"expires_at,omitempty"`
UserID string `json:"user_id,omitempty"`
Username string `json:"username,omitempty"`
}
func Load ¶
func Load() (Credentials, error)
Click to show internal directories.
Click to hide internal directories.