Function mas_oidc_client::requests::jose::fetch_jwks

source ·
pub async fn fetch_jwks(
    client: &Client,
    jwks_uri: &Url,
) -> Result<PublicJsonWebKeySet, JwksError>
Expand description

Fetch a JWKS at the given URL.

§Arguments

  • http_client - The reqwest client to use for making HTTP requests.

  • jwks_uri - The URL where the JWKS can be retrieved.

§Errors

Returns an error if the request fails or if the data is invalid.