mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-04 04:57:51 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			313 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			313 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
/* global axios */
 | 
						|
import ApiClient from '../ApiClient';
 | 
						|
 | 
						|
class MicrosoftClient extends ApiClient {
 | 
						|
  constructor() {
 | 
						|
    super('microsoft', { accountScoped: true });
 | 
						|
  }
 | 
						|
 | 
						|
  generateAuthorization(payload) {
 | 
						|
    return axios.post(`${this.url}/authorization`, payload);
 | 
						|
  }
 | 
						|
}
 | 
						|
 | 
						|
export default new MicrosoftClient();
 |