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) { } + // /// Initializes a new instance of the class. /// /// The token issuer. public NativeApplicationClient(AuthorizationServerDescription authorizationServer) - : this(authorizationServer, null, null) {} + : this(authorizationServer, null, null) { } /// /// Initializes a new instance of the class. /// /// The authorization endpoint. public NativeApplicationClient(Uri authorizationEndpoint) - : base(new AuthorizationServerDescription { AuthorizationEndpoint = authorizationEndpoint }) {} + : base(new AuthorizationServerDescription { AuthorizationEndpoint = authorizationEndpoint }) { } /// /// 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); } - + /// /// 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. /// /// URI pointing to the authorization server - public new Uri RequestUserAuthorization() + public Uri RequestUserAuthorization() { return RequestUserAuthorization((IEnumerable)null); } @@ -101,7 +101,7 @@ string url = "http://example.com/?code=" + authCode; return ProcessUserAuthorization(new Uri(url), authorizationState); } - + /// /// Uses the provided authorization code to create an authorization state. ///