API-Google
view release on metacpan or search on metacpan
"Config::JSON" : "0",
"Crypt::JWT" : "0",
"Data::Dumper" : "0",
"Mojo::UserAgent" : "0",
"Mojo::Util" : "0",
"Mojolicious::Commands" : "0",
"Mojolicious::Lite" : "0",
"Mojolicious::Plugin::OAuth2" : "0",
"Net::EmptyPort" : "0",
"Tie::File" : "0",
"feature" : "0",
"parent" : "0",
"strict" : "0",
"warnings" : "0"
}
},
"test" : {
"requires" : {
"Test::More" : "0",
"perl" : "5.006"
}
Config::JSON: '0'
Crypt::JWT: '0'
Data::Dumper: '0'
Mojo::UserAgent: '0'
Mojo::Util: '0'
Mojolicious::Commands: '0'
Mojolicious::Lite: '0'
Mojolicious::Plugin::OAuth2: '0'
Net::EmptyPort: '0'
Tie::File: '0'
feature: '0'
parent: '0'
strict: '0'
warnings: '0'
resources:
bugtracker: https://github.com/pavelsr/API-Google/issues
repository: git://github.com/pavelsr/API-Google.git
version: '0.12'
x_serialization_backend: 'YAML::Tiny version 1.69'
Makefile.PL view on Meta::CPAN
"Config::JSON" => 0,
"Crypt::JWT" => 0,
"Data::Dumper" => 0,
"Mojo::UserAgent" => 0,
"Mojo::Util" => 0,
"Mojolicious::Commands" => 0,
"Mojolicious::Lite" => 0,
"Mojolicious::Plugin::OAuth2" => 0,
"Net::EmptyPort" => 0,
"Tie::File" => 0,
"feature" => 0,
"parent" => 0,
"strict" => 0,
"warnings" => 0
},
"TEST_REQUIRES" => {
"Test::More" => 0
},
"VERSION" => "0.12",
"test" => {
"TESTS" => "t/*.t"
Makefile.PL view on Meta::CPAN
"Crypt::JWT" => 0,
"Data::Dumper" => 0,
"Mojo::UserAgent" => 0,
"Mojo::Util" => 0,
"Mojolicious::Commands" => 0,
"Mojolicious::Lite" => 0,
"Mojolicious::Plugin::OAuth2" => 0,
"Net::EmptyPort" => 0,
"Test::More" => 0,
"Tie::File" => 0,
"feature" => 0,
"parent" => 0,
"strict" => 0,
"warnings" => 0
);
unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
delete $WriteMakefileArgs{TEST_REQUIRES};
delete $WriteMakefileArgs{BUILD_REQUIRES};
$WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
package goauth;
$goauth::VERSION = '0.12';
# ABSTRACT: CLI tool for easily getting of Google API access tokens. Supports multiple users
use Mojolicious::Commands;
use Data::Dumper;
use Config::JSON;
use Tie::File;
use feature 'say';
use Net::EmptyPort qw(empty_port);
my $filename;
if ($ARGV[0]) {
$filename = $ARGV[0];
} else {
$filename = 'config.json';
}
if (-e $filename) {
lib/API/Google/Server.pm view on Meta::CPAN
#!perl
package API::Google::Server;
$API::Google::Server::VERSION = '0.12';
# ABSTRACT: Mojolicious::Lite web server for getting Google API tokens via Oauth 2.0
use Mojolicious::Lite;
use Data::Dumper;
use Config::JSON;
use Tie::File;
use Crypt::JWT qw(decode_jwt);
use feature 'say';
use Mojo::Util 'getopt';
use Mojolicious::Plugin::OAuth2;
# use Mojo::JWT;
# sub return_json_filename {
# use Cwd;
# my $cwd = getcwd;
# opendir my $dir, $cwd or die "Cannot open directory: $!";
# my @files = readdir $dir;
( run in 0.263 second using v1.01-cache-2.11-cpan-4d50c553e7e )