Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1621)

Side by Side Diff: Src/GoogleApis.Auth/OAuth2/IAccessMethod.cs

Issue 13632059: Issue 351: Reimplement OAuth2 - Step 2 (Auth PCL - only data types) (Closed) Base URL: https://google-api-dotnet-client.googlecode.com/hg/
Patch Set: minor Created 10 years, 10 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Net.Http;
5 using System.Text;
6
7 namespace Google.Apis.Auth.OAuth2
8 {
9 /// <summary>
10 /// Method of presenting the access token to the resource server as specifie d in·
11 /// http://tools.ietf.org/html/rfc6749#section-7
12 /// </summary>
13 public interface IAccessMethod
14 {
15 /// <summary>
16 /// Intercepts a HTTP request right before the HTTP request executes by providing the access token.
17 /// </summary>
18 void Intercept(HttpRequestMessage request, string accessToken);
19
20 /// <summary>
21 /// Retrieve the original access token in the HTTP request, as provided in the <see cref=" Intercept"/> method.
22 /// </summary>
23 string GetAccessToken(HttpRequestMessage request);
24 }
25 }
OLDNEW
« no previous file with comments | « Src/GoogleApis.Auth/OAuth2/GoogleConsts.cs ('k') | Src/GoogleApis.Auth/OAuth2/IAuthorizationCodeFlow.cs » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b