echoCredentials {dataone} | R Documentation |
This method can be used to verify the client certificate is valid and contains the expected information.
echoCredentials(x, ...)
## S4 method for signature 'CNode'
echoCredentials(x)
x |
The coordinating node to send the request to. |
... |
(Not yet used) |
The authentication credentials contained in the X.509 certificate or authentication token are send with the request.
A list containing authentication info.
## Not run:
cn <- CNode("STAGING")
creds <- echoCredentials(cn)
print(creds$person$subject)
## End(Not run)