Uses of Class
org.apache.juneau.rest.client.mcp.auth.McpAuthorizationCodeAcquirer.Builder
Packages that use McpAuthorizationCodeAcquirer.Builder
Package
Description
Client-side OAuth 2.1 token acquisition for the Model Context Protocol
2026-07-28 revision.-
Uses of McpAuthorizationCodeAcquirer.Builder in org.apache.juneau.rest.client.mcp.auth
Methods in org.apache.juneau.rest.client.mcp.auth that return McpAuthorizationCodeAcquirer.BuilderModifier and TypeMethodDescriptionMcpAuthorizationCodeAcquirer.Builder.authorizationEndpoint(URI value) Sets the authorization endpoint URL.McpAuthorizationCodeAcquirer.Builder.browserLauncher(Consumer<URI> value) Sets the callback invoked with the authorization URL so the caller can open it in a browser (or print it).Sets the OAuth client ID.McpAuthorizationCodeAcquirer.Builder.clientSecret(String value) Sets the client secret (omit for a public/native PKCE-only client).McpClientRegistrations.configure(McpAuthorizationCodeAcquirer.Builder builder, McpClientRegistration registration) Applies a DCR-issued registration'sclient_id, optionalclient_secret, and registered loopback redirect path (and port, for a bind-first registration) onto anMcpAuthorizationCodeAcquirer.Builder.McpAuthorizationCodeAcquirer.create()Static creator.McpAuthorizationCodeAcquirer.Builder.expectedIssuer(URI value) Sets the expected issuer the callbackissparameter is validated against (SEP-2468).McpAuthorizationCodeAcquirer.Builder.httpRequestConfigurator(Consumer<com.nimbusds.oauth2.sdk.http.HTTPRequest> value) Sets a callback that customizes the NimbusHTTPRequestfor the token exchange.McpAuthorizationCodeAcquirer.Builder.httpTimeout(Duration value) Sets the connect/read timeout applied to the token-exchange request.McpAuthorizationCodeAcquirer.Builder.offlineAccess(boolean value) Requests theoffline_accessscope so the IdP issues a refresh token (SEP-2207).McpAuthorizationCodeAcquirer.Builder.redirectPath(String value) Sets the loopback redirect path.McpAuthorizationCodeAcquirer.Builder.redirectPort(int value) Sets a fixed loopback redirect port so the receiver binds exactly that port (the "bind-first" strategy for strict exact-match authorization servers).McpAuthorizationCodeAcquirer.Builder.requireIssuerResponseParameter(boolean value) Requires the authorization response to carry anissparameter, rejecting a response that omits it.Sets the RFC 8707resourceindicator (the canonical MCP server URI).Adds requested scopes.McpAuthorizationCodeAcquirer.Builder.skipIssuerValidation(boolean value) Explicitly opts out of the SEP-2468issvalidation.McpAuthorizationCodeAcquirer.Builder.store(EphemeralStore value) Sets the ephemeral state/verifier store.McpAuthorizationCodeAcquirer.Builder.tokenEndpoint(URI value) Sets the token endpoint URL.Methods in org.apache.juneau.rest.client.mcp.auth with parameters of type McpAuthorizationCodeAcquirer.BuilderModifier and TypeMethodDescriptionMcpClientRegistrations.configure(McpAuthorizationCodeAcquirer.Builder builder, McpClientRegistration registration) Applies a DCR-issued registration'sclient_id, optionalclient_secret, and registered loopback redirect path (and port, for a bind-first registration) onto anMcpAuthorizationCodeAcquirer.Builder.Constructors in org.apache.juneau.rest.client.mcp.auth with parameters of type McpAuthorizationCodeAcquirer.BuilderModifierConstructorDescriptionprotectedConstructor.