TwistPHP Documentation

authenticate

File path: dist/twist/Core/Utilities/User.utility.php
Namespace: Twist\Core\Utilities
Extends: Base

authenticateManual authentication if you are not using BaseControllerUser to handle the login and authentication for you

Parameters

Name Type Description
[$strEmailAddress = null]stringn/a
[$strPassword = null]stringn/a
[$blRememberMe = null]booleann/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$strEmailAddress null;
$strPassword null;
$blRememberMe null;

//Call the function authenticate with the example vars
Twist::User() -> authenticate($strEmailAddress$strPassword$blRememberMe);