pds_resources

Function pds_resources 

Source
pub async fn pds_resources(
    http_client: &Client,
    pds: &str,
) -> Result<(OAuthProtectedResource, AuthorizationServer), OAuthClientError>
Expand description

Retrieves and validates OAuth configuration from a Personal Data Server (PDS).

Fetches both the protected resource metadata and authorization server metadata from the PDS’s well-known OAuth endpoints, returning the first authorization server.