singer_sdk.authenticators.SimpleAuthenticator

class singer_sdk.authenticators.SimpleAuthenticator

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: RESTStreamBase, auth_headers: dict | None = None) None

Create a new authenticator.

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

Parameters
  • stream – The stream instance to use with this authenticator.

  • auth_headers – Authentication headers.