mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2025-09-12 18:09:39 +02:00
21 lines
450 B
Text
21 lines
450 B
Text
|
% Generated by roxygen2: do not edit by hand
|
||
|
% Please edit documentation in R/redcap_read_shiny_module.R
|
||
|
\name{is_valid_token}
|
||
|
\alias{is_valid_token}
|
||
|
\title{Validate REDCap token}
|
||
|
\usage{
|
||
|
is_valid_token(token, pattern_env = NULL, nchar = 32)
|
||
|
}
|
||
|
\arguments{
|
||
|
\item{token}{token}
|
||
|
|
||
|
\item{pattern_env}{pattern}
|
||
|
}
|
||
|
\description{
|
||
|
Validate REDCap token
|
||
|
}
|
||
|
\examples{
|
||
|
token <- paste(sample(c(1:9, LETTERS[1:6]), 32, TRUE), collapse = "")
|
||
|
is_valid_token(token)
|
||
|
}
|