feat: add google client

This commit is contained in:
Shivam Mishra
2024-06-02 19:43:35 +05:30
parent b8c237ca58
commit 47074e8a82
3 changed files with 70 additions and 36 deletions
@@ -0,0 +1,14 @@
/* global axios */
import ApiClient from '../ApiClient';
class MicrosoftClient extends ApiClient {
constructor() {
super('google', { accountScoped: true });
}
generateAuthorization(payload) {
return axios.post(`${this.url}/authorization`, payload);
}
}
export default new MicrosoftClient();