obscureAuth {dataone}R 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.


[Package dataone version 2.2.1 Index]