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

PropertyTypeVisibilityDescription
_requestprotected
_userArrayprotected
_permissionArrayprotected
_typeArrayprotected
_callArrayprotected
PropertyTypeVisibilityDescription

Methods

MethodVisibilityDescription
__constructpublicconstructor of the class
__callpubliccall method as needed
initpublicinit the class
loginpubliclogin the user
logoutpubliclogout the user
getUserpublicget the value from user
getUserArraypublicget the array from user
setUserpublicset the user
getPermissionpublicget the value from permission
getPermissionArraypublicget the array from permission
setPermissionpublicset the permission
getStatuspublicget the auth status
savepublicsave user and permission
_getAuthprotectedget the auth from session
_setAuthprotectedset the auth to session
MethodVisibilityDescription