| [ Index ] |
PHP Cross Reference of WordPress |
[Source view] [Print] [Project Stats]
Basic Authentication provider
| File Size: | 88 lines (2 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
Requests_Auth_Basic:: (5 methods):
__construct()
register()
curl_before_send()
fsockopen_header()
getAuthString()
Class: Requests_Auth_Basic - X-Ref
Basic Authentication provider| __construct($args = null) X-Ref |
| Constructor param: array|null $args Array of user and password. Must have exactly two elements |
| register(Requests_Hooks $hooks) X-Ref |
| Register the necessary callbacks param: Requests_Hooks $hooks Hook system |
| curl_before_send(&$handle) X-Ref |
| Set cURL parameters before the data is sent param: resource $handle cURL resource |
| fsockopen_header(&$out) X-Ref |
| Add extra headers to the request before sending param: string $out HTTP header string |
| getAuthString() X-Ref |
| Get the authentication string (user:pass) return: string |
| Generated: Thu Dec 15 01:00:02 2022 | Cross-referenced by PHPXref 0.7.1 |