PassThroughClient

PassThroughClient

An AuthClient without any Authentication information. Useful for:

  • Anonymous access
  • Local Emulators
  • Testing Environments

Constructor

new PassThroughClient()

Methods

(async) getAccessToken()

A required method of the base class. Always will return an empty object.

Returns:
Type Description

(async) getRequestHeaders()

A required method of the base class. Always will return an empty object.

Returns:
Type Description

(async) request(opts)

Creates a request without any authentication headers or checks.

Parameters:
Name Type Description
opts
Returns:
Type Description

The response of the request.