BasicAuthProvider class  
Warning
This API is now deprecated.
This package will be deprecated by 2026-07. Please use Microsoft 365 Agents SDK instead.
Provider that handles Basic authentication
Constructors
| Basic | 
Methods
| Add | Adds authentication info to http requests | 
Constructor Details
		BasicAuthProvider(string, string)
	  
	Warning
This API is now deprecated.
This package will be deprecated by 2026-07. Please use Microsoft 365 Agents SDK instead.
new BasicAuthProvider(userName: string, password: string)Parameters
- userName
- 
				string 
Username used in basic auth
- password
- 
				string 
Password used in basic auth
Method Details
		AddAuthenticationInfo(AxiosRequestConfig<any>)
	    
	Warning
This API is now deprecated.
This package will be deprecated by 2026-07. Please use Microsoft 365 Agents SDK instead.
Adds authentication info to http requests
function AddAuthenticationInfo(config: AxiosRequestConfig<any>): Promise<AxiosRequestConfig<any>>Parameters
- config
- 
				AxiosRequestConfig<any> 
Contains all the request information and can be updated to include extra authentication info. Refer https://axios-http.com/docs/req_config for detailed document.
Returns
Promise<AxiosRequestConfig<any>>
Updated axios request config.