diff options
author | 2024-09-09 08:08:49 +0000 | |
---|---|---|
committer | 2024-09-09 08:08:49 +0000 | |
commit | f3eebfcf8045facb1de247a53a2c6245423c27e5 (patch) | |
tree | 22672305feddff4b119249a5310ea41dc6749b1d /vendor/golang.org/x | |
parent | [bugfix] Swagger: add missing filter_action param for v2 filter PUT (#3281) (diff) | |
download | gotosocial-f3eebfcf8045facb1de247a53a2c6245423c27e5.tar.xz |
[chore]: Bump golang.org/x/oauth2 from 0.22.0 to 0.23.0 (#3284)
Diffstat (limited to 'vendor/golang.org/x')
-rw-r--r-- | vendor/golang.org/x/oauth2/token.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vendor/golang.org/x/oauth2/token.go b/vendor/golang.org/x/oauth2/token.go index 5bbb33217..109997d77 100644 --- a/vendor/golang.org/x/oauth2/token.go +++ b/vendor/golang.org/x/oauth2/token.go @@ -49,6 +49,13 @@ type Token struct { // mechanisms for that TokenSource will not be used. Expiry time.Time `json:"expiry,omitempty"` + // ExpiresIn is the OAuth2 wire format "expires_in" field, + // which specifies how many seconds later the token expires, + // relative to an unknown time base approximately around "now". + // It is the application's responsibility to populate + // `Expiry` from `ExpiresIn` when required. + ExpiresIn int64 `json:"expires_in,omitempty"` + // raw optionally contains extra metadata from the server // when updating a token. raw interface{} |