Learn R Programming

neonUtilities (version 3.0.0)

tokenCheck: Check for expired API token

Description

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

Usage

tokenCheck(token)

Value

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

Arguments

token

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

Author

Claire Lunch clunch@battelleecology.org

References

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