[auth][js] remove deprecated method fetchProvidersForEmail

This commit is contained in:
Salakar
2018-09-25 16:18:08 +01:00
parent 38954423a7
commit 82f4bd79a0

View File

@@ -502,18 +502,6 @@ export default class Auth extends ModuleBase {
return getNativeModule(this).checkActionCode(code);
}
/**
* Returns a list of authentication providers that can be used to sign in a given user (identified by its main email address).
* @return {Promise}
* @Deprecated
*/
fetchProvidersForEmail(email: string): Promise<string[]> {
console.warn(
'Deprecated firebase.auth().fetchProvidersForEmail in favor of firebase.auth().fetchSignInMethodsForEmail()'
);
return getNativeModule(this).fetchSignInMethodsForEmail(email);
}
/**
* Returns a list of authentication methods that can be used to sign in a given user (identified by its main email address).
* @return {Promise}