On this page
WP_HTTP_Proxy::authentication(): string
Retrieve authentication string for proxy authentication.
Return
string
Source
File: wp-includes/class-wp-http-proxy.php. View all references
public function authentication() {
return $this->username() . ':' . $this->password();
}
Related
Uses
| Uses | Description |
|---|---|
| WP_HTTP_Proxy::username() wp-includes/class-wp-http-proxy.php | Retrieve the username for proxy authentication. |
| WP_HTTP_Proxy::password() wp-includes/class-wp-http-proxy.php | Retrieve the password for proxy authentication. |
Used By
| Used By | Description |
|---|---|
| WP_HTTP_Proxy::authentication_header() wp-includes/class-wp-http-proxy.php | Retrieve header string for proxy authentication. |
Changelog
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_http_proxy/authentication