Skip to main content

openidconnect_http_client

Function openidconnect_http_client 

Source
pub fn openidconnect_http_client(client: Client) -> impl Fn(Request<Vec<u8>>)
Expand description

Adapts a reqwest client to openidconnect’s HTTP client interface.

openidconnect ships its own adapter only for the reqwest version it depends on, which can differ from the one used here.