|
Previous Page |
Solar_Http_Request_Adapter |
Next Page |
setBasicAuth()
public
Solar_Http_Adapter
setBasicAuth (
string $handle,
string $passwd
)
Sets "Basic" authorization credentials.
Parameters
- (string)
$handle: The username or login name. - (string)
$passwd: The associated password for the handle.
Returns
- (Solar_Http_Adapter) This adapter object.
Description
Sets "Basic" authorization credentials.
Note that username handles may not have ':' in them.
If both the handle and password are empty, turns off authorization.
Local
- Overview
- Constants
- Properties
- Methods
- __construct()
- __destruct()
- __toString()
- _exception()
- _fetch()
- _parseCookie()
- _prepareRequest()
- apiVersion()
- dump()
- fetch()
- fetchRaw()
- getContent()
- getOptions()
- locale()
- setBasicAuth()
- setCharset()
- setContent()
- setContentType()
- setCookie()
- setHeader()
- setMaxRedirects()
- setMethod()
- setProxy()
- setSslCafile()
- setSslCapath()
- setSslLocalCert()
- setSslPassphrase()
- setSslVerifyPeer()
- setTimeout()
- setUri()
- setUserAgent()
- setVersion()