summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OAuth2.Client/OAuth2/UserAgentClient.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2012-03-16 23:10:44 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2012-03-16 23:10:44 -0700
commit719337e7465118c21aa89727c3dbba93e7a192a1 (patch)
tree669c394869e79872c5c1ffd686be28f92d80f7e0 /src/DotNetOpenAuth.OAuth2.Client/OAuth2/UserAgentClient.cs
parent1068d8217e19c6ac300a1077e13c2b1dae01bc4b (diff)
downloadDotNetOpenAuth-719337e7465118c21aa89727c3dbba93e7a192a1.zip
DotNetOpenAuth-719337e7465118c21aa89727c3dbba93e7a192a1.tar.gz
DotNetOpenAuth-719337e7465118c21aa89727c3dbba93e7a192a1.tar.bz2
A bunch more moving of OAuth2 classes between assemblies.
Diffstat (limited to 'src/DotNetOpenAuth.OAuth2.Client/OAuth2/UserAgentClient.cs')
-rw-r--r--src/DotNetOpenAuth.OAuth2.Client/OAuth2/UserAgentClient.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth.OAuth2.Client/OAuth2/UserAgentClient.cs b/src/DotNetOpenAuth.OAuth2.Client/OAuth2/UserAgentClient.cs
index c29d167..9834985 100644
--- a/src/DotNetOpenAuth.OAuth2.Client/OAuth2/UserAgentClient.cs
+++ b/src/DotNetOpenAuth.OAuth2.Client/OAuth2/UserAgentClient.cs
@@ -151,7 +151,7 @@ namespace DotNetOpenAuth.OAuth2 {
authorization.Callback = new Uri("http://localhost/");
}
- var request = implicitResponseType ? new EndUserAuthorizationImplicitRequest(this.AuthorizationServer) : new EndUserAuthorizationRequest(this.AuthorizationServer);
+ var request = implicitResponseType ? (EndUserAuthorizationRequest)new EndUserAuthorizationImplicitRequestC(this.AuthorizationServer) : new EndUserAuthorizationRequestC(this.AuthorizationServer);
request.ClientIdentifier = this.ClientIdentifier;
request.Callback = authorization.Callback;
request.ClientState = state;