Florian Ragwitz > CatalystX-SimpleLogin-0.01 > CatalystX::SimpleLogin::TraitFor::Controller::Login::WithRedirect

Download:
CatalystX-SimpleLogin-0.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  1
View/Report Bugs
Source   Latest Release: CatalystX-SimpleLogin-0.18

NAME ^

CatalystX::SimpleLogin::TraitFor::Controller::Login::WithRedirect - redirect users who login back to the page they originally requested.

SYNOPSIS ^

    package MyApp::Controller::NeedsAuth;

    sub something : Path Does('NeedsLogin') {
        # Redirects to /login if not logged in
    }

    # Turn on in config
    MyApp->config('Contoller::Login' => { login => 'WithRedirect' });

DESCRIPTION ^

Provides the login action with a wrapper to redirect to a page which needs authentication, from which the user was previously redirected. Goes hand in hand with Catalyst::ActionRole::NeedsLogin

WRAPPED METHODS ^

redirect_after_login_uri

FIXME

METHODS ^

login_redirect

FIXME

SEE ALSO ^

CatalystX::SimpleLogin::ControllerRole::Login
CatalystX::SimpleLogin::Form::Login

AUTHORS ^

See CatalystX::SimpleLogin for authors.

LICENSE ^

See CatalystX::SimpleLogin for license.

syntax highlighting: