Auth

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

Properties

PropertyTypeVisibilityDescription
$_requestobjectprotectedinstance of the request class
$_userArrayarrayprotectedarray of the user
$_permissionArrayarrayprotectedarray of the permission
$_typeArrayarrayprotectedarray of the type
$_callArrayarrayprotectedarray of the call
PropertyTypeVisibilityDescription

Methods

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 auth from session
_setAuthprotectedset auth to session
getPermissionNewpublic
getPermissionInstallpublic
getPermissionEditpublic
getPermissionDeletepublic
getPermissionUninstallpublic
getFilterpublic
MethodVisibilityDescription