how can I add a header value to the request when showing a modal?

I need to pass an Authorization header value when showing a modal


BBSkyAddinClient.AddinClient.showModal()


How can I do this?