Auth

  • Namespace: Redaxscript
  • Description: parent class to authenticate the user
  • Package: Redaxscript
  • Category: Auth
  • Author: Henry Ruhs

Properties

PropertyTypeVisibilityDescription
$_request\Redaxscript\Requestprotectedinstance of the request class
$_userArrayarrayprotectedarray of the user
$_permissionArrayarrayprotectedarray of the permission
$_typeArrayarrayprotectedarray of the type
$_callArrayarrayprotectedarray of the call
PropertyTypeVisibilityDescription

Properties

MethodVisibilityDescription
__constructpublicconstructor of the class
__callpubliccall method as needed
initpublicinit the class
loginpubliclogin the user
logoutpubliclogout the user
getUserpublicget the user
setUserpublicset the user
getPermissionpublicget the permission
setPermissionpublicset the permission
getStatuspublicget the auth status
savepublicsave user and permission
_getAuthprotectedget the auth from session
_setAuthprotectedset the auth to session
getPermissionNewpublic
getPermissionInstallpublic
getPermissionEditpublic
getPermissionDeletepublic
getPermissionUninstallpublic
getFilterpublic
MethodVisibilityDescription