mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-24 04:24:52 +08:00
[auth] Implemented fetchProvidersForEmail
This commit is contained in:
@@ -156,6 +156,14 @@ export default class Auth extends Base {
|
||||
return this._interceptUserValue(FirebaseAuth.getCurrentUser());
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a list of authentication providers that can be used to sign in a given user (identified by its main email address).
|
||||
* @return {Promise}
|
||||
*/
|
||||
fetchProvidersForEmail(email: string): Promise<Object> {
|
||||
return FirebaseAuth.fetchProvidersForEmail(email);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the currently signed in user
|
||||
* @return {Promise}
|
||||
|
||||
Reference in New Issue
Block a user