process() public method

This function saves the state, and redirects the user to the page where the user can authorize the release of the attributes. If storage is used and the consent has already been given the user is passed on.
public process ( &$state ) : void
return void
コード例 #1
0
 /**
  * Helper function to run the filter with a given configuration.
  *
  * @param array $config  The filter configuration.
  * @param array $request  The request state.
  * @return array  The state array after processing.
  */
 private function processFilter(array $config, array $request)
 {
     $filter = new \sspmod_consent_Auth_Process_Consent($config, null);
     $filter->process($request);
     return $request;
 }