| jwt_signature {httr} | R Documentation |
As described in https://developers.google.com/accounts/docs/OAuth2ServiceAccount
jwt_signature(credentials, scope, aud, duration = 60L * 60L)
credentials |
Parsed contents of the credentials file. |
scope |
A space-delimited list of the permissions that the application requests. |
duration |
Duration of token, in seconds. |
## Not run:
cred <- jsonlite::fromJSON("~/Desktop/httrtest-45693cbfac92.json")
jwt_signature(cred, "https://www.googleapis.com/auth/userinfo.profile")
## End(Not run)