Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
LoginHandler Class Reference
Inheritance diagram for LoginHandler:
PKPLoginHandler Handler PKPHandler

Public Member Functions

 _getLoginUrl ($request)
 _redirectAfterLogin ($request)
 _setMailFrom ($request, &$mail)
 setupTemplate ($request)
 signInAsUser ($args, $request)
 signOutAsUser ($args, $request)
- Public Member Functions inherited from PKPLoginHandler
 _redirectAfterLogin ($request)
 _setMailFrom ($request, $mail, $site)
 changePassword ($args, $request)
 implicitAuthLogin ($args, $request)
 implicitAuthReturn ($args, $request)
 index ($args, $request)
 lostPassword ($args, $request)
 PKPLoginHandler ()
 requestResetPassword ($args, $request)
 resetPassword ($args, $request)
 savePassword ($args, $request)
 signIn ($args, $request)
 signOut ($args, $request)
- Public Member Functions inherited from Handler
 getSiteRedirectContext ($request)
 getTargetContext ($request, $bestGuess=true)
 getWorkingContexts ($request)
 Handler ()
- Public Member Functions inherited from PKPHandler
 addCheck (&$handlerValidator)
 addPolicy ($authorizationPolicy, $addToTop=false)
 addRoleAssignment ($roleIds, $operations)
 authorize ($request, &$args, $roleAssignments, $enforceRestrictedSite=true)
getAuthorizedContext ()
getAuthorizedContextObject ($assocType)
getDispatcher ()
 getFirstUserContext ($user, $contexts)
 getId ()
 getLastAuthorizationMessage ()
 getLoginExemptions ()
 getRoleAssignment ($roleId)
 getRoleAssignments ()
 getWorkingContexts ($request)
 index ($args, $request)
 initialize ($request, $args=null)
 PKPHandler ()
 setDispatcher ($dispatcher)
 setId ($id)
 setupTemplate ($request)
 validate ($requiredContexts=null, $request=null)

Additional Inherited Members

- Static Public Member Functions inherited from PKPHandler
static getPageParamName ($rangeName)
static getRangeInfo ($request, $rangeName, $contextData=null)
static hashPageContext ($request, $contextData=array())
- Public Attributes inherited from PKPHandler
 $_checks = array()
 $_roleAssignments = array()

Detailed Description

Handle login/logout requests.

Definition at line 18 of file

Member Function Documentation

LoginHandler::_getLoginUrl (   $request)

Get the log in URL.


Definition at line 94 of file

LoginHandler::_redirectAfterLogin (   $request)

After a login has completed, direct the user somewhere.


Definition at line 119 of file

References PKPHandler\getAuthorizedContextObject(), and Handler\getTargetContext().

LoginHandler::_setMailFrom (   $request,

Helper Function - set mail from address


Definition at line 103 of file

LoginHandler::setupTemplate (   $request)

Configure the template for display.

Definition at line 135 of file

References AppLocale\requireComponents().

Referenced by signInAsUser().

LoginHandler::signInAsUser (   $args,

Sign in as another user.

$argsarray ($userId)

Definition at line 24 of file

References PKPHandler\addCheck(), PKPValidation\canAdminister(), DAORegistry\getDAO(), setupTemplate(), and PKPHandler\validate().

LoginHandler::signOutAsUser (   $args,

Restore original user account after signing in as a user.


Definition at line 66 of file

References DAORegistry\getDAO(), and PKPHandler\validate().

The documentation for this class was generated from the following file: