in wwauth/Google.Solutions.WWAuth/Adapters/ServiceAccountAdapter.cs [269:287]
public TokenInfo(
string value,
IDictionary<string, object> attributes)
{
this.Value = value;
this.Attributes = attributes;
if (attributes.TryGetValue("expires_in", out var expiresIn) &&
expiresIn is long expiresInSecs)
{
this.Expiry = DateTimeOffset.UtcNow.AddSeconds(expiresInSecs);
}
if (attributes.TryGetValue("audience", out var audience) &&
audience is string audienceValue)
{
this.Audience = audienceValue;
}
}