Learn R Programming

dataone (version 2.2.2)

obscureAuth: Temporarily disable DataONE authentication.

Description

Calling obscureAuth temporarily disables authentication so that

Usage

obscureAuth(.Object)

# S4 method for AuthenticationManager obscureAuth(.Object)

Arguments

.Object

An AuthenticationManager instance

Value

The expiration date for the current authentication mechanism being used.

Details

This method is intended to be used for authentication testing. isAuthValid will return FALSE. Authentication can be re-enabled by calling restoreAuth.