Skip to main content

discover_from_auth_challenge

Function discover_from_auth_challenge 

Source
pub async fn discover_from_auth_challenge(
    client: &Client,
    www_authenticate: &str,
    resource_url: &str,
) -> McpResult<(ProtectedResourceMetadata, AuthorizationServerMetadata)>
Expand description

Perform full discovery flow from an authorization challenge response.