Function mas_oidc_client::requests::discovery::discover

source ·
pub async fn discover(
    client: &Client,
    issuer: &str,
) -> Result<VerifiedProviderMetadata, DiscoveryError>
Expand description

Fetch the provider metadata and validate it.

§Errors

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