TwistPHP Documentation

validate

File path: dist/twist/Core/Models/User/Auth.model.php
Namespace: Twist\Core\Models\User
Extends:

validateValidate a users credentials without logging the user into the system

Parameters

Name Type Description
$strEmailstringn/a
$strPasswordstringn/a
[$blBypassPassword = false]booleann/a

Return Values

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

Example

<?php
//Set the variables for the example
$strEmail 'foo';
$strPassword 'foo';
$blBypassPassword false;

//Call the function validate with the example vars
\Twist\Core\Models\User\Auth::validate($strEmail$strPassword$blBypassPassword);