obscureAuth function

Temporarily disable DataONE authentication.

Temporarily disable DataONE authentication.

Calling obscureAuth temporarily disables authentication so that

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

Arguments

  • .Object: An AuthenticationManager instance

Returns

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.

  • Maintainer: Matthew B. Jones
  • License: Apache License 2.0
  • Last published: 2022-06-10