Closed
Description
Some almost-OAuth2 apis return expires_in
as part of their token response. Unfortunately, unmarshaling into an oauth2.Token
does not populate it's Expiry
field. Hence, the token structure needs be duplicated/embedded to provide this logic. It would be nice if oauth2.Token.UnmarshalJSON
populated the Expiry
field when expires_in
is populated.
Metadata
Metadata
Assignees
Labels
No labels