auth_cache: Simple caching mechanism for auth secrets

auth_cacheR Documentation

Simple caching mechanism for auth secrets

Description

Caching of authorization secrets relies on a simple rds file save/load mechanism.

Usage

auth_as(name = NULL)

auth_list()

auth_save(auth, name)

auth_load(name = NULL)

Arguments

name

the name of the cache as a string

auth

the authentication token as a string

Details

Users primarily interact with the auth_as() function to set the authentication secrets for the session. Authentication identities are managed by name.

Value

The previously set authentication token if any


bkkkk/lastfmr documentation built on Sept. 4, 2022, 7:03 a.m.