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

Return Values

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

Example

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

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