TwistPHP Documentation

Auth

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

Type: Model

Auth

Example Usage

<?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);

Method List

Method Access Returns
currentstaticvoid
loginstaticvoid
validatestaticvoid
logoutstaticvoid
logLastActivestaticvoid
logLastLoginstaticvoid
SessionHandlerstaticvoid