New redirect strategy

I change the way the redirect strategy works.
The redirects from authenticate/logout actions are now callbacks.
This way the user can overwrite the default callback and decide **exactly** what to should happen.

ping @Ocramius

closes #479
closes #476
closes #473
closes #469
thx again -.- don't know what's the matter with me :D


Mvh.
Daniel Strøm


On Wed, Jul 2, 2014 at 4:49 PM, Mark Tudor <notifications@github.com> wrote:

> In src/ZfcUser/Controller/Plugin/ZfcUserRedirect.php:
>
> > +<?php
> > +
> > +namespace ZfcUser\Controller\Plugin;
> > +
> > +use Zend\Http\Response;
> > +use Zend\Mvc\Controller\Plugin\Redirect;
> > +use Zend\Mvc\Exception\DomainException;
> > +use Zend\Mvc\Exception\RuntimeException;
> > +use Zend\Mvc\Router\RouteMatch;
> > +use ZfcUser\Options\ModuleOptions;
> > +use Zend\Mvc\Controller\Plugin\
> AbstractPlugin;
> > +
> > +class ZfcUserRedirect extends AbstractPlugin
> > +{
> > +    /** @var RouteMatch */
> > +    protected $RouteMatch;
>
> Oops - capitalisation! Sorry, damn coding turning us all into picky
> so-and-sos!
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/ZF-Commons/ZfcUser/pull/480/files#r14460792>.
>