Masayuki Matsuki > Plack-Middleware-Auth-OAuth-0.04 > Plack::Middleware::Auth::OAuth

Download:
Plack-Middleware-Auth-OAuth-0.04.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.04   Source   Latest Release: Plack-Middleware-Auth-OAuth-0.06

NAME ^

Plack::Middleware::Auth::OAuth - OAuth signature validation middleware

SYNOPSIS ^

  use Plack::Builder;

  my $app = sub { ...};

  builder {
      enable "Plack::Middleware::Auth::OAuth",
          consumer_key => 'YOUR_CONSUMER_KEY',
          consumer_secret => 'YOUR_CONSUMER_SECRET',
          ;
      $app; 
  };

DESCRIPTION ^

Plack::Middleware::Auth::OAuth is OAuth signature validation handler for Plack.

CONFIGURATION ^

consumer_key

Your application's consumer key.

consumer_secret

Your application's consumer secret.

validate_post

Includes body parameters in validation. For MBGA-Town, you should use this option.

check_nonce_cb

A callback function to validate oauth_nonce.

check_timestamp_cb

A callback function to validate oauth_timestamp.

AUTHOR ^

Hideo Kimura <hide@cpan.org> Masayuki Matsuki <songmu@cpan.org>

SEE ALSO ^

LICENSE ^

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: