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
NullAuthProvider
class is a no-op implementation of IHeadersProvider. It returns an empty string for the authorization header.This is used when no authentication is required.