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.
Caching APIs for both the classic and the asynchronous
HTTP transports.
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> AbstractClientContextBuilder.authSchemeMapMethods 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 ofAuthSchemes to handle the givenAuthChallenges in their order of preference.Methods in org.apache.hc.client5.http with parameters of type AuthSchemeModifier and TypeMethodDescriptionAbstractClientContextBuilder.preemptiveAuth(org.apache.hc.core5.http.HttpHost host, AuthScheme authScheme) ContextBuilder.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 AuthSchemeReturns 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 voidAuthCache.put(org.apache.hc.core5.http.HttpHost host, String pathPrefix, AuthScheme authScheme) Stores the authentication state with the given authentication scope in the cache.voidAuthCache.put(org.apache.hc.core5.http.HttpHost host, AuthScheme authScheme) Stores the authentication state with the given authentication scope in the cache.voidAuthExchange.select(AuthScheme authScheme) Resets the auth state withAuthSchemeand clears auth options.Method parameters in org.apache.hc.client5.http.auth with type arguments of type AuthSchemeModifier and TypeMethodDescriptionvoidAuthExchange.setOptions(Queue<AuthScheme> authOptions) Updates the auth state with a queue of auth options. -
Uses of AuthScheme in org.apache.hc.client5.http.cache
Methods in org.apache.hc.client5.http.cache with parameters of type AuthSchemeModifier and TypeMethodDescriptionCacheContextBuilder.preemptiveAuth(org.apache.hc.core5.http.HttpHost host, AuthScheme authScheme) voidHttpCacheContext.Delegate.resetAuthExchange(org.apache.hc.core5.http.HttpHost host, AuthScheme authScheme) -
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 TypeClassDescriptionclassBasic authentication scheme.classBearer authentication scheme.classDigest authentication scheme.classDeprecated.Do not use.classDeprecated.Do not use.final classDeprecated.Do not use.final classStrict HTTP SCRAM client implementingSCRAM-SHA-256per RFC 7804 with SCRAM core per RFC 5802/7677.classDeprecated.Do not use.Fields in org.apache.hc.client5.http.impl.auth with type parameters of type AuthSchemeModifier and TypeFieldDescription(package private) final Class<? extends AuthScheme> BasicAuthCache.AuthData.clazzMethods 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.ScramSchemeFactory.create(org.apache.hc.core5.http.protocol.HttpContext context) Creates a newScramScheme.SPNegoSchemeFactory.create(org.apache.hc.core5.http.protocol.HttpContext context) Deprecated.BasicAuthCache.get(org.apache.hc.core5.http.HttpHost host) private AuthSchemeAuthCacheKeeper.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 TypeMethodDescriptionprivate BasicAuthCache.AuthDataBasicAuthCache.data(AuthScheme authScheme) voidBasicAuthCache.put(org.apache.hc.core5.http.HttpHost host, String pathPrefix, AuthScheme authScheme) voidBasicAuthCache.put(org.apache.hc.core5.http.HttpHost host, AuthScheme authScheme) private voidAuthCacheKeeper.updateCache(org.apache.hc.core5.http.HttpHost host, String pathPrefix, AuthScheme authScheme, HttpClientContext clientContext) Constructor parameters in org.apache.hc.client5.http.impl.auth with type arguments of type AuthScheme -
Uses of AuthScheme in org.apache.hc.client5.http.protocol
Methods in org.apache.hc.client5.http.protocol with parameters of type AuthSchemeModifier and TypeMethodDescriptionvoidHttpClientContext.resetAuthExchange(org.apache.hc.core5.http.HttpHost host, AuthScheme authScheme)