Uses of Interface
org.apache.hc.client5.http.auth.CredentialsProvider
Packages that use CredentialsProvider
Package
Description
Client component APIs common to all client transports
such as connection route information and resolution
as well as common HTTP method definitions and
exception classes.
Client HTTP authentication APIs.
Asynchronous HTTP client API implementation that supports both
HTTP/2 and HTTP/1.1 transport.
Standard and common HTTP authentication schemes.
Classic HTTP client API implementation that supports HTTP/1.1 transport
only.
HTTP protocol interceptors that enable advanced functionality
such as HTTP state management and authentication state caching.
-
Uses of CredentialsProvider in org.apache.hc.client5.http
Fields in org.apache.hc.client5.http declared as CredentialsProviderMethods in org.apache.hc.client5.http with parameters of type CredentialsProviderModifier and TypeMethodDescriptionContextBuilder.useCredentialsProvider
(CredentialsProvider credentialsProvider) -
Uses of CredentialsProvider in org.apache.hc.client5.http.auth
Subinterfaces of CredentialsProvider in org.apache.hc.client5.http.authModifier and TypeInterfaceDescriptioninterface
Abstract store of authentication credentials.Methods in org.apache.hc.client5.http.auth with parameters of type CredentialsProviderModifier and TypeMethodDescriptionboolean
AuthScheme.isResponseReady
(org.apache.hc.core5.http.HttpHost host, CredentialsProvider credentialsProvider, org.apache.hc.core5.http.protocol.HttpContext context) Determines whether or not an authorization response can be generated based on the actual authentication state. -
Uses of CredentialsProvider in org.apache.hc.client5.http.impl.async
Fields in org.apache.hc.client5.http.impl.async declared as CredentialsProviderModifier and TypeFieldDescriptionprivate CredentialsProvider
H2AsyncClientBuilder.credentialsProvider
private CredentialsProvider
HttpAsyncClientBuilder.credentialsProvider
private final CredentialsProvider
InternalAbstractHttpAsyncClient.credentialsProvider
Methods in org.apache.hc.client5.http.impl.async with parameters of type CredentialsProviderModifier and TypeMethodDescriptionfinal H2AsyncClientBuilder
H2AsyncClientBuilder.setDefaultCredentialsProvider
(CredentialsProvider credentialsProvider) Assigns defaultCredentialsProvider
instance which will be used for request execution if not explicitly set in the client execution context.final HttpAsyncClientBuilder
HttpAsyncClientBuilder.setDefaultCredentialsProvider
(CredentialsProvider credentialsProvider) Assigns defaultCredentialsProvider
instance which will be used for request execution if not explicitly set in the client execution context.Constructors in org.apache.hc.client5.http.impl.async with parameters of type CredentialsProviderModifierConstructorDescription(package private)
InternalAbstractHttpAsyncClient
(org.apache.hc.core5.reactor.DefaultConnectingIOReactor ioReactor, AsyncPushConsumerRegistry pushConsumerRegistry, ThreadFactory threadFactory, AsyncExecChainElement execChain, org.apache.hc.core5.http.config.Lookup<CookieSpecFactory> cookieSpecRegistry, org.apache.hc.core5.http.config.Lookup<AuthSchemeFactory> authSchemeRegistry, CookieStore cookieStore, CredentialsProvider credentialsProvider, RequestConfig defaultConfig, List<Closeable> closeables) (package private)
InternalH2AsyncClient
(org.apache.hc.core5.reactor.DefaultConnectingIOReactor ioReactor, AsyncExecChainElement execChain, AsyncPushConsumerRegistry pushConsumerRegistry, ThreadFactory threadFactory, InternalH2ConnPool connPool, HttpRoutePlanner routePlanner, org.apache.hc.core5.http.config.Lookup<CookieSpecFactory> cookieSpecRegistry, org.apache.hc.core5.http.config.Lookup<AuthSchemeFactory> authSchemeRegistry, CookieStore cookieStore, CredentialsProvider credentialsProvider, RequestConfig defaultConfig, List<Closeable> closeables) (package private)
InternalHttpAsyncClient
(org.apache.hc.core5.reactor.DefaultConnectingIOReactor ioReactor, AsyncExecChainElement execChain, AsyncPushConsumerRegistry pushConsumerRegistry, ThreadFactory threadFactory, AsyncClientConnectionManager manager, HttpRoutePlanner routePlanner, TlsConfig tlsConfig, org.apache.hc.core5.http.config.Lookup<CookieSpecFactory> cookieSpecRegistry, org.apache.hc.core5.http.config.Lookup<AuthSchemeFactory> authSchemeRegistry, CookieStore cookieStore, CredentialsProvider credentialsProvider, RequestConfig defaultConfig, List<Closeable> closeables) -
Uses of CredentialsProvider in org.apache.hc.client5.http.impl.auth
Classes in org.apache.hc.client5.http.impl.auth that implement CredentialsProviderModifier and TypeClassDescriptionclass
Default implementation ofCredentialsStore
.(package private) final class
(package private) final class
class
Implementation ofCredentialsStore
backed by standard JREAuthenticator
.Methods in org.apache.hc.client5.http.impl.auth that return CredentialsProviderMethods in org.apache.hc.client5.http.impl.auth with parameters of type CredentialsProviderModifier and TypeMethodDescriptionboolean
BasicScheme.isResponseReady
(org.apache.hc.core5.http.HttpHost host, CredentialsProvider credentialsProvider, org.apache.hc.core5.http.protocol.HttpContext context) boolean
BearerScheme.isResponseReady
(org.apache.hc.core5.http.HttpHost host, CredentialsProvider credentialsProvider, org.apache.hc.core5.http.protocol.HttpContext context) boolean
DigestScheme.isResponseReady
(org.apache.hc.core5.http.HttpHost host, CredentialsProvider credentialsProvider, org.apache.hc.core5.http.protocol.HttpContext context) boolean
GGSSchemeBase.isResponseReady
(org.apache.hc.core5.http.HttpHost host, CredentialsProvider credentialsProvider, org.apache.hc.core5.http.protocol.HttpContext context) Deprecated.boolean
NTLMScheme.isResponseReady
(org.apache.hc.core5.http.HttpHost host, CredentialsProvider credentialsProvider, org.apache.hc.core5.http.protocol.HttpContext context) Deprecated. -
Uses of CredentialsProvider in org.apache.hc.client5.http.impl.classic
Fields in org.apache.hc.client5.http.impl.classic declared as CredentialsProviderModifier and TypeFieldDescriptionprivate CredentialsProvider
HttpClientBuilder.credentialsProvider
private final CredentialsProvider
InternalHttpClient.credentialsProvider
Methods in org.apache.hc.client5.http.impl.classic with parameters of type CredentialsProviderModifier and TypeMethodDescriptionfinal HttpClientBuilder
HttpClientBuilder.setDefaultCredentialsProvider
(CredentialsProvider credentialsProvider) Assigns defaultCredentialsProvider
instance which will be used for request execution if not explicitly set in the client execution context.Constructors in org.apache.hc.client5.http.impl.classic with parameters of type CredentialsProviderModifierConstructorDescriptionInternalHttpClient
(HttpClientConnectionManager connManager, org.apache.hc.core5.http.impl.io.HttpRequestExecutor requestExecutor, ExecChainElement execChain, HttpRoutePlanner routePlanner, org.apache.hc.core5.http.config.Lookup<CookieSpecFactory> cookieSpecRegistry, org.apache.hc.core5.http.config.Lookup<AuthSchemeFactory> authSchemeRegistry, CookieStore cookieStore, CredentialsProvider credentialsProvider, RequestConfig defaultConfig, List<Closeable> closeables) -
Uses of CredentialsProvider in org.apache.hc.client5.http.protocol
Methods in org.apache.hc.client5.http.protocol that return CredentialsProviderMethods in org.apache.hc.client5.http.protocol with parameters of type CredentialsProviderModifier and TypeMethodDescriptionvoid
HttpClientContext.setCredentialsProvider
(CredentialsProvider credentialsProvider)