Skip to content

This function lists all globally stored credentials (username and password) for the Plug API. If none are found or an error occurs, it displays a message in English ("No credentials found for Plug API.") and returns an empty list.

Usage

plug_list_credentials()

Value

A named list with username and password fields if credentials are found, or an empty list if no credentials are stored.

Examples

# \donttest{
if (FALSE) { # \dontrun{
plug_list_credentials()
} # }
# }