The Perl Toolchain Summit 2025 Needs You: You can help 🙏 Learn more

NAME

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

SYNOPSIS

my $sa = Google::RestApi::Auth::ServiceAccount->new(
account_file => <path_to_account_json_file>,
);
# 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.