(ctx context.Context, code string, opts ...oauth2.AuthCodeOption)
| 215 | } |
| 216 | |
| 217 | func (c *Config) Exchange(ctx context.Context, code string, opts ...oauth2.AuthCodeOption) (*oauth2.Token, error) { |
| 218 | return c.underlying.Exchange(c.wrapClient(ctx, SourceExchange), code, opts...) |
| 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) |