mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2025-12-16 09:32:10 +01:00
329 B
329 B
Validate REDCap token
Validate REDCap token
Usage
is_valid_token(token, pattern_env = NULL, nchar = 32)
Arguments
-
token:
token
-
pattern_env:
pattern
Value
logical
Examples
token <- paste(sample(c(1:9, LETTERS[1:6]), 32, TRUE), collapse = "")
is_valid_token(token)
#> [1] TRUE