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

Thread-safe OAuth 2.0 method for accessing protected resources using the Authorization header as specified in http://tools.ietf.org/html/rfc6750#section-2.1. More...

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

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

Thread-safe OAuth 2.0 method for accessing protected resources using the Authorization header as specified in http://tools.ietf.org/html/rfc6750#section-2.1.

Member Function Documentation

string Google.Apis.Auth.OAuth2.BearerToken.AuthorizationHeaderAccessMethod.GetAccessToken ( HttpRequestMessage  request)
inline

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

Implements Google.Apis.Auth.OAuth2.IAccessMethod.

void Google.Apis.Auth.OAuth2.BearerToken.AuthorizationHeaderAccessMethod.Intercept ( HttpRequestMessage  request,
string  accessToken 
)
inline

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

Implements Google.Apis.Auth.OAuth2.IAccessMethod.


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