Android
org.apache.http.client
public interface

org.apache.http.client.CredentialsProvider

org.apache.http.client.CredentialsProvider

Abstract credentials provider.

Summary

Public Methods

          void  clear()
Clears all credentials.
          Credentials  getCredentials(AuthScope authscope)
Get the credentials for the given authentication scope.
          void  setCredentials(AuthScope authscope, Credentials credentials)
Sets the credentials for the given authentication scope.

Details

Public Methods

public void clear()

Clears all credentials.

public Credentials getCredentials(AuthScope authscope)

Get the credentials for the given authentication scope.

Parameters

authscope the authentication scope

Returns

  • the credentials

public void setCredentials(AuthScope authscope, Credentials credentials)

Sets the credentials for the given authentication scope. Any previous credentials for the given scope will be overwritten.

Parameters

authscope the authentication scope
credentials the authentication credentials for the given scope.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48