isAuthValid | R Documentation |
The currently used DataONE client authentication method (either tokens or X.509 certificates) is checked and verified for the specified node (either CN or MN). If an authentication token is available via the R options facility, it will be used i.e. available via getOption("dataone_token"). However, authentication tokens can only be used for DataONE v2 or higher nodes. X.509 certificates can be used with DataONE v1 or higher nodes. See the "dataone" vignette "dataone-overview" for more information on authentication.
isAuthValid(.Object, ...) ## S4 method for signature 'AuthenticationManager' isAuthValid(.Object, node)
.Object |
An AuthenticationManager instance |
... |
additional parameters |
node |
The node object (MNode or CNode) that authentication is being checked for. |
A logical value: TRUE if authentication is valid, false if not.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.