Ads API .NET library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Google.Api.Ads.Common.OAuth.OAuthClientMessageInspector Class Reference

OAuth2 client message inspector that adds authorization HTTP headers. More...

Inheritance diagram for Google.Api.Ads.Common.OAuth.OAuthClientMessageInspector:

Public Member Functions

 OAuthClientMessageInspector (AdsOAuthProvider oauthProvider)
 Initializes a new instance of the OAuth2ClientMessageInspector class. More...
 
object BeforeSendRequest (ref Message request, IClientChannel channel)
 Adds an OAuth2 authorization header to outbound requests. More...
 
void AfterReceiveReply (ref Message reply, object correlationState)
 Performs any operations after receiving the SOAP response. More...
 

Detailed Description

OAuth2 client message inspector that adds authorization HTTP headers.

Constructor & Destructor Documentation

Google.Api.Ads.Common.OAuth.OAuthClientMessageInspector.OAuthClientMessageInspector ( AdsOAuthProvider  oauthProvider)
inline

Initializes a new instance of the OAuth2ClientMessageInspector class.

Member Function Documentation

void Google.Api.Ads.Common.OAuth.OAuthClientMessageInspector.AfterReceiveReply ( ref Message  reply,
object  correlationState 
)
inline

Performs any operations after receiving the SOAP response.

object Google.Api.Ads.Common.OAuth.OAuthClientMessageInspector.BeforeSendRequest ( ref Message  request,
IClientChannel  channel 
)
inline

Adds an OAuth2 authorization header to outbound requests.


The documentation for this class was generated from the following file: