Skip to content

Most visited

Recently visited

navigation

org.apache.http.auth | Android Developers

to top
Android APIs
Added in API level 1
package

org.apache.http.auth

The API for client-side HTTP authentication against a server, commonly referred to as HttpAuth.

Interfaces

AuthScheme

This interface represents an abstract challenge-response oriented authentication scheme. 

AuthSchemeFactory  
Credentials User name and password based authentication credentials. 

Classes

AUTH Constants and static helpers related to the HTTP authentication. 
AuthSchemeRegistry Authentication scheme registry that can be used to obtain the corresponding authentication scheme implementation for a given type of authorization challenge. 
AuthScope The class represents an authentication scope consisting of a host name, a port number, a realm name and an authentication scheme name which Credentials apply to. 
AuthState This class provides detailed information about the state of the authentication process. 
BasicUserPrincipal Basic user principal used for HTTP authentication 
NTCredentials Credentials specific to the Windows platform. 
NTUserPrincipal NT (MS Windows specific) user principal used for HTTP authentication 
UsernamePasswordCredentials Username and password Credentials 

Exceptions

AuthenticationException Signals a failure in authentication process 
InvalidCredentialsException Authentication credentials required to respond to a authentication challenge are invalid 
MalformedChallengeException Signals that authentication challenge is in some way invalid or illegal in the given context 
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.