Public Member Functions | |
| initialize (&$controller) | |
| Set current user, if already logged in and/or valid. | |
| login ($userid, $password, $policy=null, $auth_group_name=array()) | |
| User authentication. | |
| loginPolicy ($userid, $u, $policy, $auth_group_name=array()) | |
| Check policy using $policy array or config if null. | |
| changePassword ($userid, $password) | |
| logout () | |
| User logout: remove session data for the user. | |
| isLogged () | |
| isUserGroupAuthorized ($groups=array()) | |
| createUser ($userData, $groups=NULL) | |
| Create new user. | |
| checkConfirmPassword ($password, $confirmedPassword) | |
| updateUser ($userData, $groups=NULL) | |
| removeGroup ($groupName) | |
| saveGroup ($groupData) | |
| removeUser ($userId) | |
| connectedUser () | |
| unserializesession ($data) | |
| getUserSession () | |
Public Attributes | |
| $controller | |
| $Session = null | |
| $user = null | |
| $allow = null | |
| $isValid = true | |
| $changePasswd = false | |
| $sessionKey = "BEAuthUser" | |
| $allowKey = "BEAuthAllow" | |
| const | SESSION_INFO_KEY = "BESession" |
| $authResult = 'OK' | |
Modified By: Last Modified: $LastChangedDate
Definition at line 33 of file be_auth.php.
| BeAuthComponent.initialize | ( | &$ | controller | ) |
Set current user, if already logged in and/or valid.
| object | $controller |
Definition at line 51 of file be_auth.php.
| BeAuthComponent.login | ( | $ | userid, | |
| $ | password, | |||
| $ | policy = null, |
|||
| $ | auth_group_name = array() | |||
| ) |
User authentication.
| string | $userid | |
| string | $password |
Definition at line 89 of file be_auth.php.
References loginPolicy().
| BeAuthComponent.loginPolicy | ( | $ | userid, | |
| $ | u, | |||
| $ | policy, | |||
| $ | auth_group_name = array() | |||
| ) |
Check policy using $policy array or config if null.
Definition at line 128 of file be_auth.php.
References logout().
Referenced by login().
| BeAuthComponent.logout | ( | ) |
User logout: remove session data for the user.
Definition at line 223 of file be_auth.php.
Referenced by loginPolicy().
| BeAuthComponent.createUser | ( | $ | userData, | |
| $ | groups = NULL | |||
| ) |
BEdita 3.0.1 betula