This is a rather magical function that calls a series of concrete
credential-fetching functions, each wrapped in a
token_fetch() keeps trying until it succeeds or there are no more functions
to try. Use
cred_funs_list() to see the current registry, in order. See the
vignette How gargle gets tokens for a
full description of
A character vector of scopes to request. Pick from those listed at https://developers.google.com/identity/protocols/oauth2/scopes.
For certain token flows, the
Additional arguments passed to all credential functions.
1 2 3 4
## Not run: token_fetch(scopes = "https://www.googleapis.com/auth/userinfo.email") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.