File path: dist/twist/Core/Utilities/Curl.utility.php
Namespace: Twist\Core\Utilities
Extends: Base
setUserPass
— Set a username and password, this will log you into any request that may have HTTP User Restriction in place
Name | Description |
---|---|
$strUsername | n/a |
$strPassword | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strUsername = 'foo';
$strPassword = 'foo';
//Call the function setUserPass with the example vars
Twist::Curl() -> setUserPass($strUsername, $strPassword);