Skip to content

Commit

Permalink
clarify
Browse files Browse the repository at this point in the history
  • Loading branch information
hickford committed Oct 14, 2023
1 parent 3c5dbf0 commit d795808
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deviceauth.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ type DeviceAuthResponse struct {
VerificationURI string `json:"verification_uri"`
// VerificationURIComplete (if populated) includes the user code in the verification URI. This is typically shown to the user in non-textual form, such as a QR code.
VerificationURIComplete string `json:"verification_uri_complete,omitempty"`
// Expiry is when the device code and user code expire
// Expiry is when the device code and user code expire. When encoding or
// decoding JSON, the following relation is used: Expiry = time.Now() +
// expires_in
Expiry time.Time `json:"expires_in,omitempty"`
// Interval is the duration in seconds that Poll should wait between requests
Interval int64 `json:"interval,omitempty"`
Expand Down

0 comments on commit d795808

Please sign in to comment.