powered by
Verifies the token is nonmissing and conforms to the legal pattern of a 32-character hexadecimal value. Trailing line endings are removed.
sanitize_token(token)
The token, without a terminal newline character.
The REDCap token. Required.
Hao Zhu, Benjamin Nutter, Will Beasley
secret_token_1 <- "12345678901234567890123456ABCDEF" secret_token_2 <- "12345678901234567890123456ABCDEF\n" REDCapR::sanitize_token(secret_token_1) REDCapR::sanitize_token(secret_token_2)
Run the code above in your browser using DataLab