Uses of Interface
org.apache.hc.client5.http.auth.AuthScheme
Packages that use AuthScheme
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.
Standard and common HTTP authentication schemes.
HTTP protocol interceptors that enable advanced functionality
such as HTTP state management and authentication state caching.
-
Uses of AuthScheme in org.apache.hc.client5.http
Fields in org.apache.hc.client5.http with type parameters of type AuthSchemeModifier and TypeFieldDescriptionprivate Map
<org.apache.hc.core5.http.HttpHost, AuthScheme> ContextBuilder.authSchemeMap
Methods in org.apache.hc.client5.http that return types with arguments of type AuthSchemeModifier and TypeMethodDescriptionAuthenticationStrategy.select
(ChallengeType challengeType, Map<String, AuthChallenge> challenges, org.apache.hc.core5.http.protocol.HttpContext context) Returns an list ofAuthScheme
s to handle the givenAuthChallenge
s in their order of preference.Methods in org.apache.hc.client5.http with parameters of type AuthSchemeModifier and TypeMethodDescriptionContextBuilder.preemptiveAuth
(org.apache.hc.core5.http.HttpHost host, AuthScheme authScheme) -
Uses of AuthScheme in org.apache.hc.client5.http.auth
Fields in org.apache.hc.client5.http.auth declared as AuthSchemeFields in org.apache.hc.client5.http.auth with type parameters of type AuthSchemeMethods in org.apache.hc.client5.http.auth that return AuthSchemeModifier and TypeMethodDescriptionAuthSchemeFactory.create
(org.apache.hc.core5.http.protocol.HttpContext context) Creates an instance ofAuthScheme
.AuthCache.get
(org.apache.hc.core5.http.HttpHost host) Returns the authentication state with the given authentication scope from the cache if available.default AuthScheme
Returns the authentication state with the given authentication scope from the cache if available.AuthExchange.getAuthScheme()
Returns actualAuthScheme
.Methods in org.apache.hc.client5.http.auth that return types with arguments of type AuthSchemeMethods in org.apache.hc.client5.http.auth with parameters of type AuthSchemeModifier and TypeMethodDescriptiondefault void
AuthCache.put
(org.apache.hc.core5.http.HttpHost host, String pathPrefix, AuthScheme authScheme) Stores the authentication state with the given authentication scope in the cache.void
AuthCache.put
(org.apache.hc.core5.http.HttpHost host, AuthScheme authScheme) Stores the authentication state with the given authentication scope in the cache.void
AuthExchange.select
(AuthScheme authScheme) Resets the auth state withAuthScheme
and clears auth options.Method parameters in org.apache.hc.client5.http.auth with type arguments of type AuthSchemeModifier and TypeMethodDescriptionvoid
AuthExchange.setOptions
(Queue<AuthScheme> authOptions) Updates the auth state with a queue of auth options. -
Uses of AuthScheme in org.apache.hc.client5.http.impl
Methods in org.apache.hc.client5.http.impl that return types with arguments of type AuthSchemeModifier and TypeMethodDescriptionDefaultAuthenticationStrategy.select
(ChallengeType challengeType, Map<String, AuthChallenge> challenges, org.apache.hc.core5.http.protocol.HttpContext context) -
Uses of AuthScheme in org.apache.hc.client5.http.impl.auth
Classes in org.apache.hc.client5.http.impl.auth that implement AuthSchemeModifier and TypeClassDescriptionclass
Basic authentication scheme.class
Bearer authentication scheme.class
Digest authentication scheme.class
Deprecated.Do not use.class
Deprecated.Do not use.final class
Deprecated.Do not use.class
Deprecated.Do not use.Methods in org.apache.hc.client5.http.impl.auth that return AuthSchemeModifier and TypeMethodDescriptionBasicSchemeFactory.create
(org.apache.hc.core5.http.protocol.HttpContext context) BearerSchemeFactory.create
(org.apache.hc.core5.http.protocol.HttpContext context) DigestSchemeFactory.create
(org.apache.hc.core5.http.protocol.HttpContext context) KerberosSchemeFactory.create
(org.apache.hc.core5.http.protocol.HttpContext context) Deprecated.NTLMSchemeFactory.create
(org.apache.hc.core5.http.protocol.HttpContext context) Deprecated.SPNegoSchemeFactory.create
(org.apache.hc.core5.http.protocol.HttpContext context) Deprecated.BasicAuthCache.get
(org.apache.hc.core5.http.HttpHost host) private AuthScheme
AuthCacheKeeper.loadFromCache
(org.apache.hc.core5.http.HttpHost host, String pathPrefix, HttpClientContext clientContext) Methods in org.apache.hc.client5.http.impl.auth with parameters of type AuthSchemeModifier and TypeMethodDescriptionvoid
BasicAuthCache.put
(org.apache.hc.core5.http.HttpHost host, String pathPrefix, AuthScheme authScheme) void
BasicAuthCache.put
(org.apache.hc.core5.http.HttpHost host, AuthScheme authScheme) private void
AuthCacheKeeper.updateCache
(org.apache.hc.core5.http.HttpHost host, String pathPrefix, AuthScheme authScheme, HttpClientContext clientContext) -
Uses of AuthScheme in org.apache.hc.client5.http.protocol
Methods in org.apache.hc.client5.http.protocol with parameters of type AuthSchemeModifier and TypeMethodDescriptionvoid
HttpClientContext.resetAuthExchange
(org.apache.hc.core5.http.HttpHost host, AuthScheme authScheme)