Package org.apache.hc.client5.http.auth
package org.apache.hc.client5.http.auth
Client HTTP authentication APIs.
-
ClassDescriptionThis interface represents an cache of
AuthScheme
state information that can be re-used for preemptive authentication by subsequent requests.This class represents an authentication challenge consisting of a auth scheme and either a single parameter or a list of name / value pairs.Signals a failure in authentication processThis class represents the actual state of authentication handshake including the currentAuthScheme
used for request authorization as well as a collection of backup authentication options if available.This interface represents an abstract challenge-response oriented authentication scheme.Factory forAuthScheme
implementations.AuthScope
represents an authentication scope consisting of an application protocol, a host name, a port number, a realm name and an authentication scheme name.Indicates that the state of anAuthScheme
can be cached and re-used for preemptive authentication by subsequent requests.Basic username based principal representation.Opaque tokenCredentials
usually representing a set of claims, often encrypted or signed.Challenge type (TARGET or PROXY)This interface represents a set of credentials consisting of a security principal and a secret (password) that can be used to establish user identityProvider of authentication credentials.Abstract store of authentication credentials.Authentication credentials required to respond to a authentication challenge are invalidDeprecated.Do not use.Deprecated.Do not use.Signals that authentication challenge is in some way invalid or illegal in the given contextDeprecated.Do not use.Microsoft Windows specific user principal implementation.Authentication schemes by their names supported by the HttpClient.SimpleCredentials
representation based on a user name / password pair.