Optional
options: {Called by the SDK to get the authentication headers for a specific audience. The audience is a string that identifies the API endpoint that the SDK is trying to access. The SDK will use the provided headers on requests to the Camunda 8 API endpoint.
The audience for which to get the authentication headers.
A promise that resolves to an object containing the authentication headers.
The
BasicAuthProvider
class is an implementation of IHeadersProvider that uses basic authentication. This class is responsible for providing the Basic authorization header to the SDK for all requests.