LiveUser
[ class tree: LiveUser ] [ index: LiveUser ] [ all elements ]

File: LiveUser.php

Source Location: /LiveUser-0.16.14/LiveUser.php

Classes:

LiveUser
This is a manager class for a user login system using the LiveUser class. It creates a LiveUser object, takes care of the whole login process and stores the LiveUser object in a session.

Page Details:

A framework for authentication and authorization in PHP applications

LiveUser is an authentication/permission framework designed to be flexible and easily extendable.

Since it is impossible to have a "one size fits all" it takes a container approach which should enable it to be versatile enough to meet most needs.

PHP version 4 and 5

LICENSE: This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Includes:

require_once('Event/Dispatcher.php') [line 53]
require_once('PEAR/ErrorStack.php') [line 52]
require_once('PEAR.php') [line 51]
Include PEAR_ErrorStack

and Event_Dispatcher classes


LIVEUSER_ADMIN_TYPE_ID [line 121]

LIVEUSER_ADMIN_TYPE_ID = 2
lowest admin type id

Usertypes


[ Top ]



LIVEUSER_ANONYMOUS_TYPE_ID [line 112]

LIVEUSER_ANONYMOUS_TYPE_ID = 0
lowest user type id

Usertypes


[ Top ]



LIVEUSER_AREAADMIN_TYPE_ID [line 125]

LIVEUSER_AREAADMIN_TYPE_ID = 3
look up area admin areas to determine which rights are automatically granted

Usertypes


[ Top ]



LIVEUSER_COOKIE_DELETE_TIME [line 151]

LIVEUSER_COOKIE_DELETE_TIME = 946080000

[ Top ]



LIVEUSER_DAY_SECONDS [line 148]

LIVEUSER_DAY_SECONDS = 86400

[ Top ]



LIVEUSER_ERROR [line 60]

LIVEUSER_ERROR = -1
Error related constants definition

[ Top ]



LIVEUSER_ERROR_CONFIG [line 62]

LIVEUSER_ERROR_CONFIG = -3
Error related constants definition

[ Top ]



LIVEUSER_ERROR_COOKIE [line 64]

LIVEUSER_ERROR_COOKIE = -7
Error related constants definition

[ Top ]



LIVEUSER_ERROR_FAILED_INSTANTIATION [line 66]

LIVEUSER_ERROR_FAILED_INSTANTIATION = -9
Error related constants definition

[ Top ]



LIVEUSER_ERROR_INIT_ERROR [line 67]

LIVEUSER_ERROR_INIT_ERROR = -10
Error related constants definition

[ Top ]



LIVEUSER_ERROR_MISSING_CLASS [line 68]

LIVEUSER_ERROR_MISSING_CLASS = -11
Error related constants definition

[ Top ]



LIVEUSER_ERROR_MISSING_DEPS [line 63]

LIVEUSER_ERROR_MISSING_DEPS = -4
Error related constants definition

[ Top ]



LIVEUSER_ERROR_MISSING_FILE [line 65]

LIVEUSER_ERROR_MISSING_FILE = -8
Error related constants definition

[ Top ]



LIVEUSER_ERROR_NOT_CALLABLE [line 71]

LIVEUSER_ERROR_NOT_CALLABLE = -14
Error related constants definition

[ Top ]



LIVEUSER_ERROR_NOT_SUPPORTED [line 61]

LIVEUSER_ERROR_NOT_SUPPORTED = -2
Error related constants definition

[ Top ]



LIVEUSER_ERROR_SESSION_STARTED [line 72]

LIVEUSER_ERROR_SESSION_STARTED = -15
Error related constants definition

[ Top ]



LIVEUSER_ERROR_UNKNOWN_EVENT [line 70]

LIVEUSER_ERROR_UNKNOWN_EVENT = -13
Error related constants definition

[ Top ]



LIVEUSER_ERROR_WRONG_CREDENTIALS [line 69]

LIVEUSER_ERROR_WRONG_CREDENTIALS = -12
Error related constants definition

[ Top ]



LIVEUSER_MASTERADMIN_TYPE_ID [line 133]

LIVEUSER_MASTERADMIN_TYPE_ID = 5
higest admin type id

Usertypes


[ Top ]



LIVEUSER_MAX_LEVEL [line 102]

LIVEUSER_MAX_LEVEL = 3
The higest possible right level.

Levels are only used in the complex container.


[ Top ]



LIVEUSER_SECTION_APPLICATION [line 141]

LIVEUSER_SECTION_APPLICATION = 1
Section types

[ Top ]



LIVEUSER_SECTION_AREA [line 142]

LIVEUSER_SECTION_AREA = 2
Section types

[ Top ]



LIVEUSER_SECTION_GROUP [line 143]

LIVEUSER_SECTION_GROUP = 3
Section types

[ Top ]



LIVEUSER_SECTION_RIGHT [line 144]

LIVEUSER_SECTION_RIGHT = 4
Section types

[ Top ]



LIVEUSER_STATUS_AUTHFAILED [line 90]

LIVEUSER_STATUS_AUTHFAILED = -9
Statuses of the current object.
  • See: LiveUser::getStatus

[ Top ]



LIVEUSER_STATUS_AUTHINITERROR [line 86]

LIVEUSER_STATUS_AUTHINITERROR = -5
Statuses of the current object.
  • See: LiveUser::getStatus

[ Top ]



LIVEUSER_STATUS_AUTHNOTFOUND [line 88]

LIVEUSER_STATUS_AUTHNOTFOUND = -7
Statuses of the current object.
  • See: LiveUser::getStatus

[ Top ]



LIVEUSER_STATUS_EMPTY_HANDLE [line 92]

LIVEUSER_STATUS_EMPTY_HANDLE = -11
Statuses of the current object.
  • See: LiveUser::getStatus

[ Top ]



LIVEUSER_STATUS_EXPIRED [line 83]

LIVEUSER_STATUS_EXPIRED = -2
Statuses of the current object.
  • See: LiveUser::getStatus

[ Top ]



LIVEUSER_STATUS_IDLED [line 82]

LIVEUSER_STATUS_IDLED = -1
Statuses of the current object.
  • See: LiveUser::getStatus

[ Top ]



LIVEUSER_STATUS_ISINACTIVE [line 84]

LIVEUSER_STATUS_ISINACTIVE = -3
Statuses of the current object.
  • See: LiveUser::getStatus

[ Top ]



LIVEUSER_STATUS_LOGGEDOUT [line 89]

LIVEUSER_STATUS_LOGGEDOUT = -8
Statuses of the current object.
  • See: LiveUser::getStatus

[ Top ]



LIVEUSER_STATUS_OK [line 81]

LIVEUSER_STATUS_OK = 1
Statuses of the current object.
  • See: LiveUser::getStatus

[ Top ]



LIVEUSER_STATUS_PERMINITERROR [line 85]

LIVEUSER_STATUS_PERMINITERROR = -4
Statuses of the current object.
  • See: LiveUser::getStatus

[ Top ]



LIVEUSER_STATUS_UNFROZEN [line 91]

LIVEUSER_STATUS_UNFROZEN = -10
Statuses of the current object.
  • See: LiveUser::getStatus

[ Top ]



LIVEUSER_STATUS_UNKNOWN [line 87]

LIVEUSER_STATUS_UNKNOWN = -6
Statuses of the current object.
  • See: LiveUser::getStatus

[ Top ]



LIVEUSER_SUPERADMIN_TYPE_ID [line 129]

LIVEUSER_SUPERADMIN_TYPE_ID = 4
from this admin level on all rights are automatically granted

Usertypes


[ Top ]



LIVEUSER_USER_TYPE_ID [line 117]

LIVEUSER_USER_TYPE_ID = 1
User type id

Usertypes

It is the highest user type id


[ Top ]



Documentation generated on Fri, 15 Oct 2010 15:00:08 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.