Skip to main content

default_jwks_fetcher

Function default_jwks_fetcher 

Source
pub fn default_jwks_fetcher() -> JwksFetcher
Expand description

Fetch JWKS documents using reqwest’s default TLS verifier.

The returned client trusts the platform CA store. Deployments with a private PKI must add that CA to the platform trust store or use an explicitly configured trust mechanism; this fetcher never accepts an invalid server certificate.