Spork Code Libraries

EmailVerificationStrategy

Checks that the authenticated member has verified their email address and redirects them if they have not.

Summary

Extends
\Zend\EventManager\AbstractListenerAggregate

Constants

CONFIG_KEY

CONFIG_KEY

Properties

$defaultConfig

$defaultConfig : array

Default configuration options

Type

array

Methods

attach()

attach(\Zend\EventManager\EventManagerInterface  $events) 

Attach event listeners

Parameters

\Zend\EventManager\EventManagerInterface $events
See also

checkEmailVerification()

checkEmailVerification(\Zend\Mvc\MvcEvent  $event) 

Check if the email address is verified and if not redirects to a specified route.

Parameters

\Zend\Mvc\MvcEvent $event