BuildAuthURL returns a URL to the provider's consent page that asks for permissions for the required scopes explicitly.
(state string, opts ...oauth2.AuthCodeOption)
| 117 | // BuildAuthURL returns a URL to the provider's consent page |
| 118 | // that asks for permissions for the required scopes explicitly. |
| 119 | BuildAuthURL(state string, opts ...oauth2.AuthCodeOption) string |
| 120 | |
| 121 | // FetchToken converts an authorization code to token. |
| 122 | FetchToken(code string, opts ...oauth2.AuthCodeOption) (*oauth2.Token, error) |