(state string, opts ...oauth2.AuthCodeOption)
| 38 | // *oauth2.Config should be used instead of implementing this in production. |
| 39 | type OAuth2Config interface { |
| 40 | AuthCodeURL(state string, opts ...oauth2.AuthCodeOption) string |
| 41 | Exchange(ctx context.Context, code string, opts ...oauth2.AuthCodeOption) (*oauth2.Token, error) |
| 42 | TokenSource(context.Context, *oauth2.Token) oauth2.TokenSource |
| 43 | } |
no outgoing calls