obscureAuth: Temporarily disable DataONE authentication.

obscureAuthR Documentation

Temporarily disable DataONE authentication.

Description

Calling obscureAuth temporarily disables authentication so that

Usage

obscureAuth(.Object)

## S4 method for signature 'AuthenticationManager'
obscureAuth(.Object)

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.

Value

The expiration date for the current authentication mechanism being used.


dataone documentation built on June 11, 2022, 1:06 a.m.