FileDocCategorySizeDatePackage
CredentialsProvider.javaAPI DocAndroid 1.5 API2582Wed May 06 22:41:10 BST 2009org.apache.http.client

CredentialsProvider

public interface CredentialsProvider
Abstract credentials provider.
author
Oleg Kalnichevski
since
4.0

Fields Summary
Constructors Summary
Methods Summary
public voidclear()
Clears all credentials.

public org.apache.http.auth.CredentialsgetCredentials(org.apache.http.auth.AuthScope authscope)
Get the {@link Credentials credentials} for the given authentication scope.

param
authscope the {@link AuthScope authentication scope}
return
the credentials
see
#setCredentials(AuthScope, Credentials)

public voidsetCredentials(org.apache.http.auth.AuthScope authscope, org.apache.http.auth.Credentials credentials)
Sets the {@link Credentials credentials} for the given authentication scope. Any previous credentials for the given scope will be overwritten.

param
authscope the {@link AuthScope authentication scope}
param
credentials the authentication {@link Credentials credentials} for the given scope.
see
#getCredentials(AuthScope)