evaluateAuth: Evaluate DataONE authentication.

Description Usage Arguments Details Value

Description

A valid DataONE authentication method is looked for and all authentication information is retrieved from it.

Usage

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

## S4 method for signature 'AuthenticationManager'
evaluateAuth(.Object, node)

Arguments

.Object

an Authentication Object.

...

additional parameters

node

A D1Node object.

Details

If the node specified in the 'node' parameter is a DataONE v2 node or higher, then an authentication token is checked if one exists. If it is readable and not expired, then information for the token is returned. If a valid token does not exist, then the X.509 certificate is checked, if it exists. If it is valid then information is returned for the certificate.

Value

A hash containing authentication information.


dataone documentation built on May 29, 2017, 8:52 p.m.

Search within the dataone package
Search all R packages, documentation and source code