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__(*args, auth_headers=None, **kwargs)[source]

Create a new authenticator.

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

Parameters:
  • *args (Any) – Positional arguments.

  • auth_headers (dict | None) – Authentication headers.

  • **kwargs (Any) – Keyword arguments.

Return type:

None