Mojolicious-Plugin-OAuth2

 view release on metacpan or  search on metacpan

.github/workflows/linux.yml  view on Meta::CPAN

      image: perl:${{ matrix.perl-version }}
    steps:
      - uses: actions/checkout@v2
      - name: perl -V
        run: perl -V
      - name: Fix ExtUtils::MakeMaker (for Perl 5.16 and 5.18)
        run: cpanm -n App::cpanminus ExtUtils::MakeMaker
      - name: Install dependencies
        run: |
          cpanm -n --installdeps .
          cpanm -n Crypt::OpenSSL::Bignum Crypt::OpenSSL::RSA IO::Socket::SSL Mojo::JWT
          cpanm -n Test::Pod Test::Pod::Coverage
      - name: Run tests
        run: prove -l t
        env:
          TEST_POD: 1
          TEST_EV: 1

META.json  view on Meta::CPAN

            "ExtUtils::MakeMaker" : "0"
         }
      },
      "runtime" : {
         "recommends" : {
            "Crypt::OpenSSL::Bignum" : "0.09",
            "Crypt::OpenSSL::RSA" : "0.31",
            "Mojo::JWT" : "0.09"
         },
         "requires" : {
            "IO::Socket::SSL" : "1.94",
            "Mojolicious" : "8.25"
         }
      },
      "test" : {
         "requires" : {
            "Test::More" : "0.88"
         }
      }
   },
   "release_status" : "stable",

META.yml  view on Meta::CPAN

name: Mojolicious-Plugin-OAuth2
no_index:
  directory:
    - t
    - inc
recommends:
  Crypt::OpenSSL::Bignum: '0.09'
  Crypt::OpenSSL::RSA: '0.31'
  Mojo::JWT: '0.09'
requires:
  IO::Socket::SSL: '1.94'
  Mojolicious: '8.25'
resources:
  bugtracker: https://github.com/marcusramberg/Mojolicious-Plugin-OAuth2/issues
  homepage: https://github.com/marcusramberg/Mojolicious-Plugin-OAuth2
  repository: https://github.com/marcusramberg/Mojolicious-Plugin-OAuth2.git
version: '2.02'
x_contributors:
  - 'Marcus Ramberg <mramberg@cpan.org>'
  - 'Jan Henning Thorsen <jhthorsen@cpan.org>'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'

Makefile.PL  view on Meta::CPAN

  VERSION_FROM   => 'lib/Mojolicious/Plugin/OAuth2.pm',
  EXE_FILES      => [qw()],
  OBJECT         => '',
  BUILD_REQUIRES => {}
,
  TEST_REQUIRES  => {
  'Test::More' => '0.88'
}
,
  PREREQ_PM      => {
  'IO::Socket::SSL' => '1.94',
  'Mojolicious' => '8.25'
}
,
  META_MERGE     => {
    'dynamic_config' => 0,
    'meta-spec'      => {version => 2},
    'prereqs'        => {
      'runtime' =>
        {'recommends' => {
  'Crypt::OpenSSL::Bignum' => '0.09',

README  view on Meta::CPAN

NAME
    Mojolicious::Plugin::OAuth2 - Auth against OAuth2 APIs

DESCRIPTION
    This Mojolicious plugin allows you to easily authenticate against a
    OAuth2 <http://oauth.net> provider. It includes configurations for a few
    popular providers, but you can add your own easily as well.

    Note that OAuth2 requires https, so you need to have the optional
    Mojolicious dependency required to support it. Run the command below to
    check if IO::Socket::SSL is installed.

       $ mojo version

  References
    *   <http://oauth.net/documentation/>

    *   <http://aaronparecki.com/articles/2012/07/29/1/oauth2-simplified>

    *   <http://homakov.blogspot.jp/2013/03/oauth1-oauth2-oauth.html>

cpanfile  view on Meta::CPAN

# You can install this projct with curl -L http://cpanmin.us | perl - https://github.com/marcusramberg/Mojolicious-Plugin-OAuth2/archive/master.tar.gz
requires 'Mojolicious'     => '8.25';
requires 'IO::Socket::SSL' => '1.94';
test_requires 'Test::More' => '0.88';

recommends 'Mojo::JWT'              => '0.09';
recommends 'Crypt::OpenSSL::Bignum' => '0.09';
recommends 'Crypt::OpenSSL::RSA'    => '0.31';



( run in 0.568 second using v1.01-cache-2.11-cpan-4d50c553e7e )