Get the authentication string (user:pass)
public function getAuthString() {
return $this->user . ':' . $this->pass;
}
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wporg-requests-auth-basic/getauthstring