pub fn request<F, RE>(self, http_client: F) -> Result<TIR, RequestTokenError<RE, TE>>
    where
        F: FnOnce(HttpRequest) -> Result<HttpResponse, RE>,
        RE: Error + 'static,
    {
        http_client(self.prepare_request()?)
            .map_err(RequestTokenError::Request)
            .and_then(endpoint_response)
    }
///
/// Synchronously sends the request to the authorization server and awaits a response.
///
Synchronously sends the request to the authorization server and awaits a response.
Synchronously sends the request to the authorization server and awaits a response .
pub fn request<F, RE>(self, http_client: F) -> Result<TIR, RequestTokenError<RE, TE>>
    where
        F: FnOnce(HttpRequest) -> Result<HttpResponse, RE>,
        RE: Error + 'static,
    {
        http_client(self.prepare_request()?)
            .map_err(RequestTokenError::Request)
            .and_then(endpoint_response)
    }
pub fn request < F , RE > ( self , http_client : F ) -> Result < TIR , RequestTokenError < RE , TE > > where F : FnOnce ( HttpRequest ) -> Result < HttpResponse , RE > , RE : Error + ' static , { http_client ( self . prepare_request ( ) ? ) . map_err ( RequestTokenError :: Request ) . and_then ( endpoint_response ) }
Synchronously sends the request to the authorization server and awaits a response.
Synchronously sends the request to the authorization server and awaits a response .
self
http_client
F
self
http_client
F