Skip to content

Latest commit

 

History

History
115 lines (52 loc) · 2.14 KB

class.Auth.md

File metadata and controls

115 lines (52 loc) · 2.14 KB

Class Auth

the purpose I added this class is to make the file system much flexible for customization.

Actually, this is a kind of interface and you should modify it to fit your system

Contents

Properties

Methods

Properties

$__loginIndexInSession

public mixed $__loginIndexInSession = 'ajax_user'

Methods

Auth

mixed Auth::Auth()

__construct

mixed Auth::__construct()

isLoggedIn

boolean Auth::isLoggedIn()

check if the user has logged

login

boolean Auth::login()

validate the username & password