2
0
mirror of synced 2025-01-14 08:25:04 +00:00
react-native-firebase/lib/modules/auth/providers/FacebookAuthProvider.js
2017-09-24 16:35:15 +01:00

20 lines
359 B
JavaScript

const providerId = 'facebook';
export default class FacebookAuthProvider {
constructor() {
throw new Error('`new FacebookAuthProvider()` is not supported on the native Firebase SDKs.');
}
static get PROVIDER_ID() {
return providerId;
}
static credential(token) {
return {
token,
secret: '',
providerId,
};
}
}