Class Security1_11

Description
Variable Summary
integer $Disabled
array $Permissions
ArchonSession $Session
Usergroup[] $Usergroups
User[] $Users
Method Summary
ArchonSecurity __construct ()
boolean isAuthenticated ()
boolean verifyCredentials (string $Login, string $Password, [boolean $Persistent = 0])
boolean verifyPermissions ([integer $ModuleID = 0], integer $Flag)
Variables
integer $Disabled = 0 (line 213)

If this flag is set to 1, all security protections will be disabled.

  • access: public
boolean $isAuthenticated = NULL (line 243)

If true, user is authenticated, if false, user is not.

This value is not set by default.

  • access: public
array $Permissions = array() (line 251)

Contains a two dimensional array where the first dimension is the module ID, and the second is the flag.

  • access: public
ArchonSession $Session = NULL (line 220)

Contains Session object

  • access: public
Usergroup[] $Usergroups = array() (line 227)

Contains an array of all usergroups.

  • access: public
User[] $Users = array() (line 234)

Contains an array of all users.

  • access: public
Methods
Constructor __construct (line 9)

ArchonSecurity Constructor

  • access: public
ArchonSecurity __construct ()
clearCredentials (line 62)

Destroys current session

  • access: public
void clearCredentials ()
isAuthenticated (line 89)

Checks to see if current session is authenticated

  • access: public
boolean isAuthenticated ()
userHasAdministrativeAccess (line 75)

Returns true if User has access to administrative interface.

  • access: public
boolean userHasAdministrativeAccess ()
verifyCredentials (line 111)

Verifies user credentials

  • access: public
boolean verifyCredentials (string $Login, string $Password, boolean $Persistent)
  • string $Login
  • string $Password
  • boolean $Persistent
verifyPermissions (line 176)

Verifies user permissions for module access

  • access: public
boolean verifyPermissions (integer $ModuleID, integer $Flag)
  • integer $ModuleID
  • integer $Flag

Documentation generated on Wed, 05 Mar 2008 16:47:18 -0600 by phpDocumentor 1.3.1