echoCredentials {dataone}R Documentation

Echo the credentials used to make the call.

Description

This method can be used to verify the client certificate is valid and contains the expected information.

Usage

echoCredentials(x, ...)

## S4 method for signature 'CNode'
echoCredentials(x)

Arguments

x

The coordinating node to send the request to.

...

(Not yet used)

Details

The authentication credentials contained in the X.509 certificate or authentication token are send with the request.

Value

A list containing authentication info.

Examples

## Not run: 
cn <- CNode("STAGING")
creds <- echoCredentials(cn)
print(creds$person$subject)

## End(Not run)

[Package dataone version 2.2.1 Index]