Displays the REDCap API token currently stored in the session as an environment variable. It's essentially a wrapper for Sys.getenv("YOUR_TOKEN_NAME"), but it also validates that the token is formatted like a REDCap token and provides messgaes if not valid.
Details
This function retrieves the REDCap API token associated with the specified `DB` object and displays it as a message. The token is not returned as an R object to maintain security. Use this function to confirm the token currently in use without exposing it unnecessarily.
See also
Other Token Functions:
set_REDCap_token()
,
test_REDCap_token()