(ctx context.Context, token *oauth2.Token)
| 219 | } |
| 220 | |
| 221 | func (c *Config) TokenSource(ctx context.Context, token *oauth2.Token) oauth2.TokenSource { |
| 222 | return c.underlying.TokenSource(c.wrapClient(ctx, SourceTokenSource), token) |
| 223 | } |
| 224 | |
| 225 | // InstrumentHTTPClient will always return a new http client. The new client will |
| 226 | // match the one passed in, but will have an instrumented round tripper. |