Right now, getIdToken and getIdTokenResult return different pieces of information (for example the authentication and expiration dates are different). However they should be based on the same information.
Judging from the FirebaseAuth code, getIdToken and getIdTokenResult are based on the same data. So ideally [our] payload generation should be consolidated into a shared function.
Originally posted by @atn832 in #73 (comment)
Right now,
getIdTokenandgetIdTokenResultreturn different pieces of information (for example the authentication and expiration dates are different). However they should be based on the same information.Originally posted by @atn832 in #73 (comment)