diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2010-06-06 18:01:01 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2010-06-06 18:01:01 -0700 |
commit | 8ed398b9151c8fc140379756bd3bd546a46daf05 (patch) | |
tree | 18a7801cf5801da10123176384bbdc8d45ccccde /samples | |
parent | eb81c74d8c7c8cc155a56eb7d5b36c5076f88b1f (diff) | |
download | DotNetOpenAuth-8ed398b9151c8fc140379756bd3bd546a46daf05.zip DotNetOpenAuth-8ed398b9151c8fc140379756bd3bd546a46daf05.tar.gz DotNetOpenAuth-8ed398b9151c8fc140379756bd3bd546a46daf05.tar.bz2 |
Renamed WebApp facade classes to WebServer to match messages and flow name.
Diffstat (limited to 'samples')
-rw-r--r-- | samples/DotNetOpenAuth.ApplicationBlock/Facebook/FacebookClient.cs | 2 | ||||
-rw-r--r-- | samples/OAuthConsumer/SampleWcf2.aspx.cs | 4 | ||||
-rw-r--r-- | samples/OAuthServiceProvider/Code/Global.cs | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/samples/DotNetOpenAuth.ApplicationBlock/Facebook/FacebookClient.cs b/samples/DotNetOpenAuth.ApplicationBlock/Facebook/FacebookClient.cs index b7df5dd..2f3840e 100644 --- a/samples/DotNetOpenAuth.ApplicationBlock/Facebook/FacebookClient.cs +++ b/samples/DotNetOpenAuth.ApplicationBlock/Facebook/FacebookClient.cs @@ -13,7 +13,7 @@ namespace DotNetOpenAuth.ApplicationBlock { using DotNetOpenAuth.Messaging; using DotNetOpenAuth.OAuthWrap; - public class FacebookClient : WebAppClient { + public class FacebookClient : WebServerClient { private static readonly AuthorizationServerDescription FacebookDescription = new AuthorizationServerDescription { TokenEndpoint = new Uri("https://graph.facebook.com/oauth/access_token"), AuthorizationEndpoint = new Uri("https://graph.facebook.com/oauth/authorize"), diff --git a/samples/OAuthConsumer/SampleWcf2.aspx.cs b/samples/OAuthConsumer/SampleWcf2.aspx.cs index 244d542..b8eda9e 100644 --- a/samples/OAuthConsumer/SampleWcf2.aspx.cs +++ b/samples/OAuthConsumer/SampleWcf2.aspx.cs @@ -94,12 +94,12 @@ } } - private static WebAppClient CreateClient() { + private static WebServerClient CreateClient() { var authServerDescription = new AuthorizationServerDescription { TokenEndpoint = new Uri("http://localhost:65169/OAuth2.ashx/token"), AuthorizationEndpoint = new Uri("http://localhost:65169/OAuth2.ashx/auth"), }; - var client = new WebAppClient(authServerDescription) { + var client = new WebServerClient(authServerDescription) { ClientIdentifier = "sampleconsumer", ClientSecret = "samplesecret", TokenManager = TokenManager, diff --git a/samples/OAuthServiceProvider/Code/Global.cs b/samples/OAuthServiceProvider/Code/Global.cs index 9f345bf..a43cf57 100644 --- a/samples/OAuthServiceProvider/Code/Global.cs +++ b/samples/OAuthServiceProvider/Code/Global.cs @@ -58,7 +58,7 @@ set { HttpContext.Current.Session["authrequest"] = value; } } - public static WebAppAuthorizationServer AuthorizationServer = new WebAppAuthorizationServer(new OAuth2AuthorizationServer()); + public static WebServerAuthorizationServer AuthorizationServer = new WebServerAuthorizationServer(new OAuth2AuthorizationServer()); private static DataClassesDataContext dataContextSimple { get { |