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' => { traits => 'Login::OpenID' });
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
login_GET
Wrap around an openid authentication if the 'openid.mode' request parameter is set. Otherwise, use the default login_GET() method.AUTHORS
See CatalystX::SimpleLogin for authors.LICENSE
See CatalystX::SimpleLogin for license.