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

Side by Side Diff: Src/GoogleApis.Auth/OAuth2/Requests/RefreshTokenRequest.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, 6 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 /*
2 Copyright 2013 Google Inc
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15 */
16
17 namespace Google.Apis.Auth.OAuth2.Requests
18 {
19 /// <summary>
20 /// OAuth 2.0 request to refresh an access token using a refresh token as sp ecified in·
21 /// http://tools.ietf.org/html/rfc6749#section-6.
22 /// </summary>
23 public class RefreshTokenRequest : TokenRequest
24 {
25 /// <summary>Gets or sets the Refresh token issued to the client.</summa ry>
26 [Google.Apis.Util.RequestParameterAttribute("refresh_token")]
27 public string RefreshToken { get; set; }
28
29 /// <summary>
30 /// Constructs a new refresh code token request and sets grant_type to < c>refresh_token</c>.
31 /// </summary>
32 public RefreshTokenRequest()
33 {
34 GrantType = "refresh_token";
35 }
36 }
37 }
OLDNEW

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