getToken: Get the value of the DataONE Authentication Token, if one...

Description Usage Arguments Details Value

Description

Get the value of the DataONE Authentication Token, if one exists.

Usage

1
2
3
4
getToken(.Object, ...)

## S4 method for signature 'AuthenticationManager'
getToken(.Object, node = as.character(NA))

Arguments

.Object

an AuthenticationManager instance

...

additional parameters

node

either a CNode or MNode object to get the appropriate token for.

Details

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.

Value

The current authentication token.


dataone documentation built on July 2, 2018, 1:02 a.m.