In AngularFire you were able to access the providers (e.g Google) accessToken for the authenticated user.
There does not seem to be a way to access this with AngularFire
getToken is deprecated now. You should use getIdToken instead:
getToken
this.af.auth.currentUser.getIdToken(true) .then((token) => localStorage.setItem('tokenId', token));