FirebaseCredential

public interface FirebaseCredential

Provides Google OAuth2 access tokens used to authenticate with Firebase services. In most cases, you will not need to implement this yourself and can instead use the default implementations provided by FirebaseCredentials.

Public Method Summary

abstract Task<String>
getAccessToken(boolean forceRefresh)
Returns a Google OAuth2 access token used to authenticate with Firebase services.

Public Methods

public abstract Task<String> getAccessToken (boolean forceRefresh)

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

Parameters
forceRefresh Whether to fetch a new token or use a cached one if available.
Returns
  • A Task providing an access token.

Send feedback about...

Need help? Visit our support page.