singer_sdk.authenticators.SimpleAuthenticator

class singer_sdk.authenticators.SimpleAuthenticator[source]

DEPRECATED: Please use a more specific authenticator.

This authenticator will merge a key-value pair to the stream in either the request headers or query parameters.

__init__(stream, auth_headers=None)[source]

Create a new authenticator.

If auth_headers is provided, it will be merged with http_headers specified on the stream.

Parameters:
  • stream (RESTStream) – The stream instance to use with this authenticator.

  • auth_headers (dict | None) – Authentication headers.

Return type:

None