Google API Client Library for .NET  1.10.0
Public Member Functions | List of all members
Google.Apis.Auth.OAuth2.IAccessMethod Interface Reference

Method of presenting the access token to the resource server as specified in http://tools.ietf.org/html/rfc6749#section-7 More...

Inheritance diagram for Google.Apis.Auth.OAuth2.IAccessMethod:
Google.Apis.Auth.OAuth2.BearerToken.AuthorizationHeaderAccessMethod Google.Apis.Auth.OAuth2.BearerToken.QueryParameterAccessMethod

Public Member Functions

void Intercept (HttpRequestMessage request, string accessToken)
 Intercepts a HTTP request right before the HTTP request executes by providing the access token. More...
 
string GetAccessToken (HttpRequestMessage request)
 Retrieves the original access token in the HTTP request, as provided in the Intercept method. More...
 

Detailed Description

Method of presenting the access token to the resource server as specified in http://tools.ietf.org/html/rfc6749#section-7

Member Function Documentation

string Google.Apis.Auth.OAuth2.IAccessMethod.GetAccessToken ( HttpRequestMessage  request)

Retrieves the original access token in the HTTP request, as provided in the Intercept method.

Implemented in Google.Apis.Auth.OAuth2.BearerToken.QueryParameterAccessMethod, and Google.Apis.Auth.OAuth2.BearerToken.AuthorizationHeaderAccessMethod.

void Google.Apis.Auth.OAuth2.IAccessMethod.Intercept ( HttpRequestMessage  request,
string  accessToken 
)

Intercepts a HTTP request right before the HTTP request executes by providing the access token.

Implemented in Google.Apis.Auth.OAuth2.BearerToken.QueryParameterAccessMethod, and Google.Apis.Auth.OAuth2.BearerToken.AuthorizationHeaderAccessMethod.


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