Authorize is called when an HTTP request results in an error that may be addressed by the authorization flow (currently 401 Unauthorized and 403 Forbidden). It is responsible for performing the OAuth flow to obtain an access token. The arguments are the request that failed and the response that was
(context.Context, *http.Request, *http.Response)
| 37 | // After a successful call to Authorize, the HTTP request will be retried by the transport. |
| 38 | // The function is responsible for closing the response body. |
| 39 | Authorize(context.Context, *http.Request, *http.Response) error |
| 40 | } |
no outgoing calls
no test coverage detected