Uses of Class
org.apache.juneau.rest.client.mcp.auth.McpProtectedResourceMetadataClient.Builder
Packages that use McpProtectedResourceMetadataClient.Builder
Package
Description
Client-side OAuth 2.1 token acquisition for the Model Context Protocol
2026-07-28 revision.-
Uses of McpProtectedResourceMetadataClient.Builder in org.apache.juneau.rest.client.mcp.auth
Methods in org.apache.juneau.rest.client.mcp.auth that return McpProtectedResourceMetadataClient.BuilderModifier and TypeMethodDescriptionMcpProtectedResourceMetadataClient.Builder.allowInsecureHttp(boolean value) Allows plainhttpPRM / authorization-server URLs (loopback hosts are always allowed regardless).McpProtectedResourceMetadataClient.create()Static creator.McpProtectedResourceMetadataClient.Builder.expectedResource(URI value) Sets the expectedresourceidentifier the PRM document'sresourcefield is validated against (RFC 9728 §3.3).McpProtectedResourceMetadataClient.Builder.httpRequestConfigurator(Consumer<com.nimbusds.oauth2.sdk.http.HTTPRequest> value) Sets a callback that customizes the NimbusHTTPRequestused for the PRM fetch and AS discovery.McpProtectedResourceMetadataClient.Builder.httpTimeout(Duration value) Sets the connect/read timeout applied to the PRM fetch and AS discovery.Constructors in org.apache.juneau.rest.client.mcp.auth with parameters of type McpProtectedResourceMetadataClient.BuilderModifierConstructorDescriptionprotectedConstructor.