File: wp-includes/Requests/Auth/Basic.php
-
classRequests_Auth_Basic
Basic Authentication provider
-
Constructor
-
Register the necessary callbacks
-
Set cURL parameters before the data is sent
-
Add extra headers to the request before sending
-
Get the authentication string (user:pass)