How do I get the value of idToken with ionic auth connect enterprise?

I need to pass the idToken value saved in localStorage from the enterprise auth connect library.
The getIdToken del function of the IonicAuth class returns this parsed value while I need the original value.
What function can I use?

  headers = req.headers.set('Authorization', 'Bearer ' + token);
                    req = req.clone({headers});