2
0
mirror of synced 2025-02-02 09:34:45 +00:00

20 lines
361 B
JavaScript

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