Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
PKPProcessAccessPolicy Class Reference
Inheritance diagram for PKPProcessAccessPolicy:
PKPPublicAccessPolicy HandlerOperationPolicy AuthorizationPolicy

Public Member Functions

 effect ()
 PKPProcessAccessPolicy ($request, $args, $operations, $message= 'user.authorization.processAuthenticationTokenRequired')
- Public Member Functions inherited from PKPPublicAccessPolicy
 effect ()
 PKPPublicAccessPolicy ($request, $operations, $message= 'user.authorization.privateOperation')
- Public Member Functions inherited from HandlerOperationPolicy
 _checkOperationWhitelist ()
 getOperations ()
getRequest ()
 HandlerOperationPolicy ($request, $operations, $message=null)
- Public Member Functions inherited from AuthorizationPolicy
 addAuthorizedContextObject ($assocType, &$authorizedObject)
 applies ()
 AuthorizationPolicy ($message=null)
 effect ()
getAdvice ($adviceType)
getAuthorizedContext ()
getAuthorizedContextObject ($assocType)
 hasAdvice ($adviceType)
 hasAuthorizedContextObject ($assocType)
 setAdvice ($adviceType, &$adviceContent)
 setAuthorizedContext (&$authorizedContext)

Public Attributes

- Public Attributes inherited from HandlerOperationPolicy
 $_operations = array()
- Public Attributes inherited from AuthorizationPolicy
 $_advice = array()
 $_authorizedContext = array()

Detailed Description

Class to control access to handler operations based on a one time key that authorizes a process to execute.

Definition at line 18 of file

Member Function Documentation

PKPProcessAccessPolicy::effect ( )
PKPProcessAccessPolicy::PKPProcessAccessPolicy (   $request,
  $message = 'user.authorization.processAuthenticationTokenRequired' 


$operationsarray|string either a single operation or a list of operations that this policy is targeting.
$messagestring a message to be displayed if the authorization fails

Definition at line 32 of file

Member Data Documentation

string PKPProcessAccessPolicy::$authToken

the process authorization token

Definition at line 23 of file

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