tokenCheck: Check for expired API token

View source: R/tokenCheck.R

tokenCheckR Documentation

Check for expired API token

Description

Extracts the expiration date from API token and check whether it has expired.

Usage

tokenCheck(token)

Arguments

token

User specific API token (generated within data.neonscience.org user accounts)

Value

Returns a token value: either the original token, if unexpired, or NA, if the token has expired

Author(s)

Claire Lunch clunch@battelleecology.org

References

License: GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007


neonUtilities documentation built on Aug. 29, 2025, 5:24 p.m.