echoCredentials: Echo the credentials used to make the call.

Description Usage Arguments Details Value Examples

Description

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

Usage

1
2
3
4
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

1
2
3
4
5
6
## Not run: 
cn <- CNode("STAGING")
creds <- echoCredentials(cn)
print(creds$person$subject)

## End(Not run)

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