diff options
Diffstat (limited to 'samples/OAuthConsumer/SampleWcf2.aspx.cs')
-rw-r--r-- | samples/OAuthConsumer/SampleWcf2.aspx.cs | 4 |
1 files changed, 2 insertions, 2 deletions
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, |