jwt_signature

0th

Percentile

Generate a JWT signature given credentials.

As described in https://developers.google.com/accounts/docs/OAuth2ServiceAccount

Keywords
internal
Usage
jwt_signature(credentials, scope, duration = 60 * 60)
Arguments
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.
Aliases
  • jwt_signature
Examples
cred <- jsonlite::fromJSON("~/Desktop/httrtest-45693cbfac92.json")
jwt_signature(cred, "https://www.googleapis.com/auth/userinfo.profile")
Documentation reproduced from package httr, version 0.6.1, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.