I'm trying to implement role based access in the app and using examples from https://firebase.google.com/docs/auth/admin/custom-claims#access_custom_claims_on_the_client but getIdTokenResult seems to be missing.
Wondering if it's a missing feature or there is a reason why it's not there?