Function getAuthorizationHeader