Uses of Class
com.revetsec.oauth.OAuthClient.Builder
Packages that use OAuthClient.Builder
Package
Description
OAuth 2.0 client flows and pure bearer presentation, challenge and protected-resource metadata helpers
(RFC 6749, RFC 7636, RFC 6750, RFC 9728).
-
Uses of OAuthClient.Builder in com.revetsec.oauth
Methods in com.revetsec.oauth that return OAuthClient.BuilderModifier and TypeMethodDescriptionOAuthClient.Builder.acknowledgeUnpatchedRuntime(@Nullable Boolean value) Acknowledges the risk of building on an unpatched runtime.OAuthClient.Builder.allowInsecureLoopback(@Nullable Boolean value) Allows plain HTTP to exact loopback hosts for local tests.OAuthClient.Builder.clientAuthentication(@Nullable ClientAuthentication value) Sets the client's token-endpoint authentication method.Sets the client identifier registered with the authorization server.Sets the clock used for pending state, token expiry and cache freshness.OAuthClient.Builder.defaultTimeToLive(@Nullable Duration value) Sets the fallback lifetime when discovery supplies no usable cache lifetime.OAuthClient.Builder.discoveryCooldown(@Nullable Duration value) Sets the cooldown after a failed discovery attempt.OAuthClient.Builder.httpClient(@Nullable HttpClient value) Injects an application-managed HTTP client.OAuthClient.Builder.issuerParameterPolicy(@Nullable IssuerParameterPolicy value) Sets how the callback issuer parameter is required.OAuthClient.Builder.maximumTimeToLive(@Nullable Duration value) Sets the highest permitted discovery cache lifetime.OAuthClient.Builder.minimumTimeToLive(@Nullable Duration value) Sets the lowest permitted discovery cache lifetime.OAuthClient.Builder.observer(@Nullable OAuthObserver value) Sets the observer for bounded OAuth events.OAuthClient.Builder.outboundUriPolicy(@Nullable OutboundUriPolicy value) Sets the policy used to approve outbound endpoint URIs.OAuthClient.Builder.pendingAuthorizationLifetime(@Nullable Duration value) Sets the lifetime of browser-bound pending authorization.OAuthClient.Builder.redirectUri(@Nullable URI value) Sets the registered redirect URI for authorization-code flows.OAuthClient.Builder.requestTimeout(@Nullable Duration value) Sets the timeout for one HTTP exchange.OAuthClient.Builder.requirePkceAdvertised(@Nullable Boolean value) Requires metadata to advertise S256 before an authorization flow begins.Sets the default resource indicators for token requests.Sets the scopes used when a request has no scope override.OAuthClient.Builder.totalDeadline(@Nullable Duration value) Sets the deadline shared by all exchanges in one public call.static @NonNull OAuthClient.BuilderOAuthClient.withAuthorizationServerMetadata(@NonNull AuthorizationServerMetadata metadata) Starts a client with manually supplied metadata; build validates every known endpoint.static @NonNull OAuthClient.BuilderOAuthClient.withIssuer(@NonNull String issuer) Starts a client with lazy RFC 8414 then OIDC discovery.