-
-
22 Dec 2020 11:17:30 UTC
- Distribution: CatalystX-SimpleLogin
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues
- Testers (148 / 0 / 0)
- Kwalitee
Bus factor: 11- 96.17% Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (48.65KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Catalyst::Action::REST
- Catalyst::Plugin::Authentication
- Catalyst::Plugin::Session
- Catalyst::Runtime
- Catalyst::View::TT
- CatalystX::Component::Traits
- CatalystX::InjectComponent
- HTML::FormHandler
- Moose
- MooseX::MethodAttributes
- MooseX::RelatedClassRoles
- MooseX::Types
- MooseX::Types::Common
- Try::Tiny
- namespace::autoclean
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
CatalystX::SimpleLogin::TraitFor::Controller::Login::OpenID - allows a User to login via OpenID
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.SEE ALSO
AUTHORS
See CatalystX::SimpleLogin for authors.
LICENSE
See CatalystX::SimpleLogin for license.
Module Install Instructions
To install CatalystX::SimpleLogin, copy and paste the appropriate command in to your terminal.
cpanm CatalystX::SimpleLogin
perl -MCPAN -e shell install CatalystX::SimpleLogin
For more information on module installation, please visit the detailed CPAN module installation guide.