powered by
As described in https://developers.google.com/accounts/docs/OAuth2ServiceAccount
jwt_signature(credentials, scope, aud, duration = 60L * 60L)
Parsed contents of the credentials file.
A space-delimited list of the permissions that the application requests.
Duration of token, in seconds.
# NOT RUN { cred <- jsonlite::fromJSON("~/Desktop/httrtest-45693cbfac92.json") jwt_signature(cred, "https://www.googleapis.com/auth/userinfo.profile") # }
Run the code above in your browser using DataLab