Skip to contents

Validates the REDCap API token stored in the project object by attempting a connection to the REDCap server.

Usage

test_project_token(project)

Arguments

project

A validated project object containing REDCap project data and settings. Generated using load_project or setup_project

Value

Logical. Returns TRUE if the API token is valid, otherwise FALSE.

Details

This function tests whether the API token stored in the project object is valid by making a request to the REDCap server.