gargle (version 0.2.0)

gargle_oauth_sitrep: OAuth token situation report

Description

Get a human-oriented overview of the existing gargle OAuth tokens:

  • Filepath of the current cache

  • Number of tokens found there

  • Compact summary of the associated

    • Email = Google identity

    • OAuth app (actually, just its nickname)

    • Scopes

    • Hash (actually, just the first 7 characters) Mostly useful for the development of gargle and client packages.

Usage

gargle_oauth_sitrep(cache = NULL)

Arguments

cache

Specifies the OAuth token cache. Defaults to the option named "gargle_oauth_cache", retrieved via gargle::gargle_oauth_cache().

Value

A data frame with one row per cached token, invisibly.

Examples

Run this code
# NOT RUN {
gargle_oauth_sitrep()
# }

Run the code above in your browser using DataCamp Workspace