Auth
- Namespace: \Redaxscript
- Description: parent class to authenticate the user
- Package: Redaxscript
- Category: Auth
- Author: Henry Ruhs
- Method: getPermissionNew
- Method: getPermissionInstall
- Method: getPermissionEdit
- Method: getPermissionDelete
- Method: getPermissionUninstall
- Method: getFilter
Properties
Property | Type | Visibility | Description |
---|---|---|---|
_request | protected | ||
_userArray | protected | ||
_permissionArray | protected | ||
_typeArray | protected | ||
_callArray | protected | ||
Property | Type | Visibility | Description |
Methods
Method | Visibility | Description |
---|---|---|
__construct | public | constructor of the class |
__call | public | call method as needed |
init | public | init the class |
login | public | login the user |
logout | public | logout the user |
getUser | public | get the value from user |
getUserArray | public | get the array from user |
setUser | public | set the user |
getPermission | public | get the value from permission |
getPermissionArray | public | get the array from permission |
setPermission | public | set the permission |
getStatus | public | get the auth status |
save | public | save user and permission |
_getAuth | protected | get the auth from session |
_setAuth | protected | set the auth to session |
Method | Visibility | Description |