WpOrg\Requests\Proxy
Http::get_auth_string()
Get the authentication string (user:pass)
Method of the class: Http{}
No Hooks.
Return
String
.
Usage
$Http = new Http(); $Http->get_auth_string();
Changelog
Since 1.6 | Introduced. |
Http::get_auth_string() Http::get auth string code WP 6.6.2
public function get_auth_string() { return $this->user . ':' . $this->pass; }