firebase-admin-python
firebase-admin-python copied to clipboard
fix: Updates for latest version of google-auth
The latest version of google-auth
uses the IAM service accounts API to sign tokens (see https://github.com/googleapis/google-auth-library-python/pull/553). We need to update our unit test mocks to be compatible with this change.
At the same time I'm replacing our _EmulatorAdminCredentials
type with AnonymousCredentials
type provided in google-auth which serves the same purpose.