CatalystX::SimpleLogin::TraitFor::Controller::Login::OpenID - allows a User to login via OpenID
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' });
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 .
login
Wrap around an openid authentication if the 'openid.mode' request parameter is set. Otherwise, use the default login_GET() method.
'openid.mode'
See CatalystX::SimpleLogin for authors.
See CatalystX::SimpleLogin for license.
To install CatalystX::SimpleLogin, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CatalystX::SimpleLogin
CPAN shell
perl -MCPAN -e shell install CatalystX::SimpleLogin
For more information on module installation, please visit the detailed CPAN module installation guide.