summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OAuth2.Client/OAuth2/WebServerClient.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2012-02-04 21:46:06 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2012-02-04 21:46:06 -0800
commit31647c77a989b8a2b3dc1d307d42f1914a502e74 (patch)
tree31db6a6feb470c14bd7ec30d6632de9924e7f0e1 /src/DotNetOpenAuth.OAuth2.Client/OAuth2/WebServerClient.cs
parent759873533f4c3b117ab7aa7fe65191878c722a60 (diff)
downloadDotNetOpenAuth-31647c77a989b8a2b3dc1d307d42f1914a502e74.zip
DotNetOpenAuth-31647c77a989b8a2b3dc1d307d42f1914a502e74.tar.gz
DotNetOpenAuth-31647c77a989b8a2b3dc1d307d42f1914a502e74.tar.bz2
Fixed whitespace.
Diffstat (limited to 'src/DotNetOpenAuth.OAuth2.Client/OAuth2/WebServerClient.cs')
-rw-r--r--src/DotNetOpenAuth.OAuth2.Client/OAuth2/WebServerClient.cs11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/DotNetOpenAuth.OAuth2.Client/OAuth2/WebServerClient.cs b/src/DotNetOpenAuth.OAuth2.Client/OAuth2/WebServerClient.cs
index a4f6b21..e05e77f 100644
--- a/src/DotNetOpenAuth.OAuth2.Client/OAuth2/WebServerClient.cs
+++ b/src/DotNetOpenAuth.OAuth2.Client/OAuth2/WebServerClient.cs
@@ -53,13 +53,12 @@ namespace DotNetOpenAuth.OAuth2 {
/// </summary>
/// <param name="scopes">The scope of authorized access requested.</param>
/// <param name="state">The state of the client that should be sent back with the authorization response.</param>
- /// <param name="returnTo">The URL the authorization server should redirect the browser (typically on this site) to when the authorization is completed. If null, the current request's URL will be used.</param>
+ /// <param name="returnTo">The URL the authorization server should redirect the browser (typically on this site) to when the authorization is completed. If null, the current request's URL will be used.</param>
/// <returns>The authorization request.</returns>
- public OutgoingWebResponse PrepareRequestUserAuthorization(IEnumerable<string> scopes = null, string state = null, Uri returnTo = null)
- {
- var authorizationState = new AuthorizationState(scopes) {
- Callback = returnTo,
- };
+ public OutgoingWebResponse PrepareRequestUserAuthorization(IEnumerable<string> scopes = null, string state = null, Uri returnTo = null) {
+ var authorizationState = new AuthorizationState(scopes) {
+ Callback = returnTo,
+ };
return this.PrepareRequestUserAuthorization(authorizationState, state);
}