Skip to content

Conversation

@alextekartik
Copy link
Contributor

As stated here:

https://firebase.google.com/docs/reference/admin/node/admin.credential.Credential-1#getaccesstoken

# getAccessToken

Returns a Google OAuth2 access token object used to authenticate with Firebase services.

Returns Promise<GoogleOAuthAccessToken>

getAccessToken returns a Promise. I changed the implementation and added a simple unit test (the change in firestore_test.dart is just a formatting change that was done automatically).

I have not setup any dart high level wrapper on Credential as I'm not sure how you would prefer it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant