Get the value of the DataONE Authentication Token, if one exists.
getToken(.Object, ...)# S4 method for AuthenticationManager
getToken(.Object, node = as.character(NA))
an AuthenticationManager instance
additional parameters
either a CNode or MNode object to get the appropriate token for.
The current authentication token.
A token value is retrieved based on the DataONE environment that the specified node is located in, either the production environment or a test environment.