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

Unified Diff: Src/GoogleApis.Authentication.OAuth2/DotNetOpenAuth/NativeApplicationClient.cs

Issue 12772043: Issues 373 (Execute Bug), 374 (Remove Tests.Utility) and 375 (Clean warnings) (Closed) Base URL: https://google-api-dotnet-client.googlecode.com/hg/
Patch Set: Error in uploading the first time Created 10 years, 7 months ago
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 side-by-side diff with in-line comments
Download patch
Index: Src/GoogleApis.Authentication.OAuth2/DotNetOpenAuth/NativeApplicationClient.cs
===================================================================
--- a/Src/GoogleApis.Authentication.OAuth2/DotNetOpenAuth/NativeApplicationClient.cs
+++ b/Src/GoogleApis.Authentication.OAuth2/DotNetOpenAuth/NativeApplicationClient.cs
@@ -42,21 +42,21 @@
public NativeApplicationClient(AuthorizationServerDescription authorizationServer,
string clientIdentifier,
string clientSecret)
- : base(authorizationServer, clientIdentifier, clientSecret) {}
-
+ : base(authorizationServer, clientIdentifier, clientSecret) { }
+
// <summary>
/// Initializes a new instance of the <see cref="UserAgentClient"/> class.
/// </summary>
/// <param name="authorizationServer">The token issuer.</param>
public NativeApplicationClient(AuthorizationServerDescription authorizationServer)
- : this(authorizationServer, null, null) {}
+ : this(authorizationServer, null, null) { }
/// <summary>
/// Initializes a new instance of the <see cref="UserAgentClient"/> class.
/// </summary>
/// <param name="authorizationEndpoint">The authorization endpoint.</param>
public NativeApplicationClient(Uri authorizationEndpoint)
- : base(new AuthorizationServerDescription { AuthorizationEndpoint = authorizationEndpoint }) {}
+ : base(new AuthorizationServerDescription { AuthorizationEndpoint = authorizationEndpoint }) { }
/// <summary>
/// Creates the URL which should be used by the user to request the initial authorization.
@@ -70,13 +70,13 @@
state.Callback = new Uri(OutOfBandCallbackUrl);
return RequestUserAuthorization(state);
}
-
+
/// <summary>
/// Creates the URL which should be used by the user to request the initial authorization.
/// Uses the default Out-of-band-URI as a callback.
/// </summary>
/// <returns>URI pointing to the authorization server</returns>
- public new Uri RequestUserAuthorization()
+ public Uri RequestUserAuthorization()
{
return RequestUserAuthorization((IEnumerable<string>)null);
}
@@ -101,7 +101,7 @@
string url = "http://example.com/?code=" + authCode;
return ProcessUserAuthorization(new Uri(url), authorizationState);
}
-
+
/// <summary>
/// Uses the provided authorization code to create an authorization state.
/// </summary>

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