auth_get: GET a resource with authenticated credentials if available.

Description Usage Arguments Value

Description

Retrieve the data at a URL using an HTTP GET request using authentication credentials provided in a client certificate. Authenticated access depends on the suggested openssl package. If the openssl package is not installed, then the request falls back to an unauthenticated request, which may fail due to insufficient permissions. Configuration options for httr/RCurl can be passed using the normal config() mechanisms to generate a config option. Use httr_options() to see a complete list of available options.

Usage

1
auth_get(url, nconfig = config(), node)

Arguments

url

The URL to be accessed via authenticated GET.

nconfig

HTTP configuration options as used by curl, defaults to empty list

node

The D1Node object that the request will be made to.

Value

the response object from the method



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

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.