java.lang.Object | |
↳ | org.apache.http.auth.AuthState |
This class provides detailed information about the state of the authentication process.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Default constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the
authentication scheme . | |||||||||||
Returns actual
AuthScope if available | |||||||||||
Returns user
Credentials selected for authentication if available | |||||||||||
Invalidates the authentication state by resetting its parameters.
| |||||||||||
Assigns the given
authentication scheme . | |||||||||||
Sets actual
AuthScope . | |||||||||||
Sets user
Credentials to be used for authentication | |||||||||||
Returns a string containing a concise, human-readable description of this
object.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
public
void
invalidate
()
Since: API Level 1
Invalidates the authentication state by resetting its parameters.
public
String
toString
()
Since: API Level 1
Returns a string containing a concise, human-readable description of this
object. Subclasses are encouraged to override this method and provide an
implementation that takes into account the object's type and data. The
default implementation is equivalent to the following expression:
getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toString
method
if you intend implementing your own toString
method.
Returns
a printable representation of this object.