Requests_Auth_Basic::getAuthString() WordPress Method
The getAuthString() method is used to generate an HTTP Basic Authentication string. This string consists of the username and password, separated by a colon (:), encoded using the Base64 algorithm.
Requests_Auth_Basic::getAuthString() #
Get the authentication string (user:pass)
Return
(string)
Source
File: wp-includes/Requests/Auth/Basic.php
public function getAuthString() { return $this->user . ':' . $this->pass; }
Expand full source codeCollapse full source codeView on TracView on GitHub