get_token: Get the currently set authentication token

View source: R/dataone.R

get_tokenR Documentation

Get the currently set authentication token

Description

Get the currently set authentication token.

Usage

get_token(node)

Arguments

node

(MNode/CNode) The Member/Coordinating Node to query.

Value

(character) The token.

Examples

## Not run: 
cn <- CNode('STAGING2')
mn <- getMNode(cn,"urn:node:mnTestKNB")
get_token(mn)

## End(Not run)

NCEAS/arcticdatautils documentation built on Aug. 28, 2023, 12:10 p.m.