Open Journal Systems  2.4.3
 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 ()
 
 setDispatcher (&$dispatcher)
 
 setId ($id)
 
 validate ($requiredContexts=null, $request=null)
 

Detailed Description

Handle login/logout requests.

Definition at line 19 of file LoginHandler.inc.php.

Member Function Documentation

LoginHandler::_getLoginUrl (   $request)

Get the log in URL.

Parameters
$requestPKPRequest

Definition at line 96 of file LoginHandler.inc.php.

LoginHandler::_setMailFrom (   $request,
$mail 
)

Helper Function - set mail from address

Parameters
$requestPKPRequest
$mailMailTemplate

Definition at line 105 of file LoginHandler.inc.php.

LoginHandler::setupTemplate (   $request)

Configure the template for display.

Parameters
$requestPKPRequest

Definition at line 121 of file LoginHandler.inc.php.

References AppLocale\requireComponents().

Referenced by signInAsUser().

LoginHandler::signInAsUser (   $args,
$request 
)

Sign in as another user.

Parameters
$argsarray ($userId)
$requestPKPRequest

Definition at line 25 of file LoginHandler.inc.php.

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

LoginHandler::signOutAsUser (   $args,
$request 
)

Restore original user account after signing in as a user.

Parameters
$argsarray
$requestPKPRequest

Definition at line 68 of file LoginHandler.inc.php.

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


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