2
0
mirror of synced 2025-01-28 15:15:28 +00:00

20 lines
353 B
JavaScript
Raw Normal View History

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