CatalystX::OAuth2::Provider

An OAuth2 Provider in your Catalyst application configuration
Download

CatalystX::OAuth2::Provider Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Publisher Name:
  • Warachet Samtalee
  • Publisher web site:
  • http://search.cpan.org/~zdk/

CatalystX::OAuth2::Provider Tags


CatalystX::OAuth2::Provider Description

An OAuth2 Provider in your Catalyst application configuration CatalystX::OAuth2::Provider is a Per class that provides an OAuth2 Provider in only your Catalyst application configuration.SYNOPSIS package MyApp; use Moose; use namespace::autoclean; use Catalyst qw/ +CatalystX::OAuth2::Provider Authentication Session Session::Store::File Session::State::Cookie Session::State::URI Session::State::Auth /; extends 'Catalyst'; __PACKAGE__->config( 'Plugin::Authentication' => { # Auth config here } ); __PACKAGE__->config( 'Plugin::Session' => { param => 'code', rewrite_body => 0 }, #Handle authorization code ); __PACKAGE__->config( 'Controller::OAuth' => { login_form => { template => 'user/login.tt', field_names => { username => 'mail', password => 'userPassword' } }, authorize_form => { template => 'oauth/authorize.tt', }, auth_info => { client_1 => { client_id => q{THIS_IS_ID}, client_secret => q{THIS_IS_SECRET}, redirect_uri => q{CLIENT_REDIRECT_URI}, }, }, protected_resource => { secret_key => 'secret', } } ); Requirements: · Perl


CatalystX::OAuth2::Provider Related Software