Catalyst::Plugin::Authentication::Credential::BBAuth

Catalyst::Plugin::Authentication::Credential::BBAuth is a Yahoo! Browser-Based Authentication for Catalyst.
Download

Catalyst::Plugin::Authentication::Credential::BBAuth Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Jiro Nishiguchi
  • Publisher web site:
  • http://search.cpan.org/~jiro/Catalyst-Plugin-Authentication-Credential-BBAuth-0.03/lib/Catalyst/Plugin/Authentication/Credential/BBAuth.pm

Catalyst::Plugin::Authentication::Credential::BBAuth Tags


Catalyst::Plugin::Authentication::Credential::BBAuth Description

Catalyst::Plugin::Authentication::Credential::BBAuth is a Yahoo! Browser-Based Authentication for Catalyst. Catalyst::Plugin::Authentication::Credential::BBAuth is a Yahoo! Browser-Based Authentication for Catalyst.SYNOPSIS use Catalyst qw( Authentication Authentication::Credential::BBAuth Session Session::Store::FastMmap Session::State::Cookie ); MyApp->config( authentication => { use_session => 1, # default 1. see C::P::Authentication bbauth => { appid => 'your appid', secret => 'your secret', }, }, ); sub default : Private { my ( $self, $c ) = @_; if ( $c->user_exists ) { # $c->user setted } } # redirect BBAuth login form sub login : Local { my ( $self, $c ) = @_; $c->res->redirect( $c->authenticate_bbauth_url ); } # login callback url sub auth : Path('/auth') { my ( $self, $c ) = @_; if ( $c->authenticate_bbauth ) { # login successful $c->res->redirect( $c->uri_for('/') ); } else { # login failed } }This module provide authentication via Yahoo! Browser-Based Authentication, using it's api. Requirements: · Perl


Catalyst::Plugin::Authentication::Credential::BBAuth Related Software