package Amon2::Auth::Site::Hatena;
use Mouse;
use JSON;
use OAuth::Lite::Token;
use OAuth::Lite::Consumer;
use Woothee;
our $VERSION = '0.04';
has consumer_key => (
is => 'ro',
isa
(
is => 'ro',
isa => 'Str',
default => 'http://n.hatena.com/applications/my.json',
);
has redirect_url => (
is => 'ro',
isa => 'Str',
);
no Mouse;
__PACKAGE__->meta->m
fo_url);
return $error->($self->ua->errstr) if $res->is_error;
my $data = decode_json($res->decoded_content);
push @args, $data;
}
$callback->{on_finished}->(@args);