mirror of
https://github.com/golang/oauth2.git
synced 2025-07-21 00:00:09 +08:00
The internal.Token type is intended to mirror the public Token type. Unmarshalling is sometimes done on the internal token. Sync the field addition, and update the conversion. Updates #61417 Fixes golang/oauth2#746 Change-Id: I55818810394adf743afb8d6d3be477a425c233b5 Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/666815 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Matt Hickford <matt.hickford@gmail.com> Reviewed-by: Junyang Shao <shaojunyang@google.com>