Skip to main content

check_resource

Function check_resource 

Source
fn check_resource(
    client: &OAuthClient,
    query: &AuthorizeParams,
    app_conf: &ApplicationConfiguration,
) -> Result<(), ControllerError>
Expand description

Enforces RFC 8707 resource indicators for the MCP server: its scopes need its URL as resource, and it takes tokens only for metadata document clients.