plug_list_tokens {plug}R Documentation

List registered tokens for Plug API

Description

This function lists the stored API token and its expiration time for the Plug API. If none are found or an error occurs, it displays a message in English ("No token found for Plug API.") and returns an empty list.

Usage

plug_list_tokens()

Value

A named list with token and expiration fields if a token is found, or an empty list if no token is stored.

Examples


## Not run: 
plug_list_tokens()

## End(Not run)


[Package plug version 0.1.0 Index]