package trakt type OauthDevice struct { DeviceCode string `json:"device_code"` UserCode string `json:"user_code"` VerificationUrl string `json:"verification_url"` ExpiresIn uint16 `json:"expires_in"` CreatedAt uint64 `json:"created_at,omitempty"` Interval uint8 } type Oauth struct { AccessToken string `json:"access_token"` RefreshToken string `json:"refresh_token"` TokenType string `json:"token_type"` ExpiresIn uint32 `json:"expires_in"` CreatedAt uint64 `json:"created_at"` Scope string }