Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
LoginHandler Class Reference
Inheritance diagram for LoginHandler:
PKPLoginHandler Handler PKPHandler

Public Member Functions

 _getLoginUrl ($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)
 requestResetPassword ($args, &$request)
 resetPassword ($args, &$request)
 savePassword ($args, &$request)
 signIn ($args, &$request)
 signOut ($args, &$request)
- Public Member Functions inherited from PKPHandler
 addCheck (&$handlerValidator)
 addPolicy (&$authorizationPolicy, $addToTop=false)
 addRoleAssignment ($roleIds, $operations)
 authorize (&$request, &$args, $roleAssignments)
getAuthorizedContext ()
getAuthorizedContextObject ($assocType)
getDispatcher ()
 getId ()
 getLastAuthorizationMessage ()
 getLoginExemptions ()
getRangeInfo ($rangeName, $contextData=null)
 getRoleAssignment ($roleId)
 getRoleAssignments ()
 hashPageContext ($contextData=array())
 index ()
 initialize (&$request, $args=null)
 PKPHandler ()
 requireSSL ()
 setDispatcher (&$dispatcher)
 setId ($id)
 validate ($requiredContexts=null, $request=null)

Detailed Description

Handle login/logout requests.

Definition at line 19 of file

Member Function Documentation

LoginHandler::_getLoginUrl (   $request)

Get the log in URL.


Definition at line 96 of file

LoginHandler::_setMailFrom (   $request,

Helper Function - set mail from address


Definition at line 105 of file

LoginHandler::setupTemplate (   $request)

Configure the template for display.


Definition at line 121 of file

References AppLocale\requireComponents().

Referenced by signInAsUser().

LoginHandler::signInAsUser (   $args,

Sign in as another user.

$argsarray ($userId)

Definition at line 25 of file

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

LoginHandler::signOutAsUser (   $args,

Restore original user account after signing in as a user.


Definition at line 68 of file

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

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