oauth_cache_clear: Clear OAuth cache

View source: R/oauth.R

oauth_cache_clearR Documentation

Clear OAuth cache

Description

Use this function to clear cached credentials.

Usage

oauth_cache_clear(client, cache_disk = FALSE, cache_key = NULL)

Arguments

client

An oauth_client().

cache_disk

Should the access token be cached on disk? This reduces the number of times that you need to re-authenticate at the cost of storing access credentials on disk.

Learn more in https://httr2.r-lib.org/articles/oauth.html.

cache_key

If you want to cache multiple tokens per app, use this key to disambiguate them.


r-lib/httr2 documentation built on Nov. 4, 2024, 11:32 p.m.