Skip to main content

discover_token_endpoint_with_tls_config

Function discover_token_endpoint_with_tls_config 

Source
pub async fn discover_token_endpoint_with_tls_config(
    issuer: &str,
    tls: ClientConfig,
) -> Result<String, ClientError>
Available on crate feature tls-rustls only.
Expand description

discover_token_endpoint over tls: for an issuer behind a private CA, or one that asks for a client certificate. Built with tls::tls_config_from_pem; a configuration given here is exact (audit B-03).

ยงErrors

As discover_token_endpoint.