discover

Function discover 

Source
pub async fn discover<C: HttpClient>(
    client: &C,
    issuer_url: &str,
) -> Result<IssuerMetadata>
Expand description

Discover issuer metadata by fetching the well-known endpoint.

Requests {issuer_url}/.well-known/openid-credential-issuer and deserializes the response into IssuerMetadata.