Auth

extends Wtf\Root
Methods Summary
public
# login( string $login , string $password )
Log in user. Return result, based by selected session storage
public
# forgot( string $login )
Generate special code for user who forgot password.
public
# reset( string $code , string $new_password )
Reset user password by code.
public
# isLoggedIn( )
Check if current user is logged in.
public
# getUser( )
Get current user.
public
# logout( )
Methods inherited from Wtf\Root
__construct(), __call(), __get(), get(), set(), getData(), setData()
Properties inherited from Wtf\Root
$container, $data