OnBehalfOfClient class  
On-Behalf-Of client
- Extends
- 
			@azure/msal-common.BaseClient
Constructors
| On | 
Methods
| acquire | Public API to acquire tokens with on behalf of flow | 
Inherited Methods
| create | Creates query string for the /token request | 
| send | Wraps sendPostRequestAsync with necessary preflight and postflight logic | 
| update | Updates the authority object of the client. Endpoint discovery must be completed. | 
Constructor Details
		OnBehalfOfClient(ClientConfiguration)
	   
	new OnBehalfOfClient(configuration: ClientConfiguration)Parameters
- configuration
- @azure/msal-common.ClientConfiguration
Inherited Property Details
authority
authority: AuthorityProperty Value
Inherited From BaseClient.authority
logger
Method Details
		acquireToken(CommonOnBehalfOfRequest)
	   
	Public API to acquire tokens with on behalf of flow
function acquireToken(request: CommonOnBehalfOfRequest): Promise<null | AuthenticationResult>Parameters
- request
- CommonOnBehalfOfRequest
developer provided CommonOnBehalfOfRequest
Returns
Promise<null | AuthenticationResult>
Inherited Method Details
		createTokenQueryParameters(BaseAuthRequest)
	     
	Creates query string for the /token request
function createTokenQueryParameters(request: BaseAuthRequest): stringParameters
- request
- BaseAuthRequest
Returns
string
Inherited From BaseClient.createTokenQueryParameters
		sendPostRequest<T>(RequestThumbprint, string, NetworkRequestOptions, string)
	     
	Wraps sendPostRequestAsync with necessary preflight and postflight logic
function sendPostRequest<T>(thumbprint: RequestThumbprint, tokenEndpoint: string, options: NetworkRequestOptions, correlationId: string): Promise<NetworkResponse<T>>Parameters
- thumbprint
- RequestThumbprint
Request thumbprint for throttling
- tokenEndpoint
- 
				string 
Endpoint to make the POST to
- options
- NetworkRequestOptions
Body and Headers to include on the POST request
- correlationId
- 
				string 
CorrelationId for telemetry
Returns
Promise<NetworkResponse<T>>
Inherited From BaseClient.sendPostRequest
		updateAuthority(string, string)
	 
	Updates the authority object of the client. Endpoint discovery must be completed.
function updateAuthority(cloudInstanceHostname: string, correlationId: string): Promise<void>Parameters
- cloudInstanceHostname
- 
				string 
- correlationId
- 
				string 
Returns
Promise<void>
Inherited From BaseClient.updateAuthority