cached_access_code: Retrieve cached Notion access token

Description Usage Arguments Value

View source: R/auth.R

Description

cached_access_code retrieves a cached Notion access token from the default cache directory, directory defined by environment variable, or user defined path

Usage

1

Arguments

path

A path to the local directory that contains the Notion access token. If left NULL, it will be set as the default cache directory or search for the environment variable NOTIONR_CACHE.

Value

A character string that is the user's Notion access token. If no access token exists, an error will be thrown


dmolitor/notionr documentation built on Dec. 20, 2021, 12:11 a.m.