Additional params added to getAuthorization
    A twig extesion that utilizes this method,is addd