NAME

Google::RestApi::Auth::ServiceAccount - Service Account support for Google Rest APIs

SYNOPSIS

use Google::RestApi::Auth::ServiceAccount;

my $sa = Google::RestApi::Auth::ServiceAccount->new(
  account_file => <path_to_account_json_file>,
  scope        => ['http://spreadsheets.google.com/feeds/'],
);
# generate an access token from the code returned from Google:
my $token = $sa->access_token($code);

AUTHOR

Robin Murray <mvsjes@cpan.ork<gt>.

SEE ALSO

WWW::Google::Cloud::Auth::ServiceAccount

https://developers.google.com/accounts/docs/OAuth2

LICENSE

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