2
0
mirror of synced 2025-01-10 06:05:53 +00:00

20 lines
364 B
JavaScript

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