Skip Menu |

This queue is for tickets about the Google-RestApi CPAN distribution.

Report information
The Basics
Id: 131015
Status: resolved
Priority: 0/
Queue: Google-RestApi

People
Owner: Nobody in particular
Requestors: quattro [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: 0.4



Subject: Feature request: use a Service Account for auth
using a service account for things like that is very practical for there is no server-side url-c+p involved. and there's a perl implemenation: https://metacpan.org/pod/WWW::Google::Cloud::Auth::ServiceAccount perhaps this could be integrated? it would make my life a bit easier. as I understand it, only the access token is needed here: https://metacpan.org/release/Google-RestApi/source/lib/Google/RestApi.pm#L191 the module above provides just that and used the json file provided by google to obtain it. perhaps add this to the constructor and use the service account instead if a json file is provided.
I forked the project on github and managed to implement the feature, will do a pull request once I've cleaned it up a little bit.
thank you