Learn R Programming

dataone (version 2.3.0)

obscureAuth: Temporarily disable DataONE authentication.

Description

Calling obscureAuth temporarily disables authentication so that

Usage

obscureAuth(.Object)

# S4 method for AuthenticationManager obscureAuth(.Object)

Value

The expiration date for the current authentication mechanism being used.

Arguments

.Object

An AuthenticationManager instance

Details

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