Skip to main content

discover_from_401

Function discover_from_401 

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

Backward-compatible alias for callers that still model this as a 401-only flow.