We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e64809 commit 117a894Copy full SHA for 117a894
token.go
@@ -54,6 +54,8 @@ type Token struct {
54
// relative to an unknown time base approximately around "now".
55
// It is the application's responsibility to populate
56
// `Expiry` from `ExpiresIn` when required.
57
+ // The oauth2 package does not automatically populate
58
+ // `ExpiresIn` even if the server returns an "expires_in" field.
59
ExpiresIn int64 `json:"expires_in,omitempty"`
60
61
// raw optionally contains extra metadata from the server
0 commit comments