From f762770e004a9cd4fc986786fa0ad5685847804f Mon Sep 17 00:00:00 2001 From: Tathagata Chakraborty Date: Tue, 15 Sep 2015 13:16:58 +0530 Subject: [PATCH] updating the sample commented code in the Startup.Auth.cs file --- OwinOAuthProvidersDemo/App_Start/Startup.Auth.cs | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/OwinOAuthProvidersDemo/App_Start/Startup.Auth.cs b/OwinOAuthProvidersDemo/App_Start/Startup.Auth.cs index 4dc6d73..4be53f6 100755 --- a/OwinOAuthProvidersDemo/App_Start/Startup.Auth.cs +++ b/OwinOAuthProvidersDemo/App_Start/Startup.Auth.cs @@ -298,14 +298,16 @@ namespace OwinOAuthProvidersDemo //app.UseOnshapeAuthentication( // appKey: "", - // appSecret: "", - // callbackPath: "/oauthRedirect"); + // appSecret: ""); // - //app.UseOnshapeAuthentication( - // appKey: "", - // appSecret: "", - // callbackPath: "/oauthRedirect", - // hostname: "partner.dev.onshape.com"); + // + //app.UseOnshapeAuthentication(new OnshapeAuthenticationOptions() + //{ + // AppKey = "", + // AppSecret = "", + // CallbackPath = new PathString("/oauthRedirect"), + // Hostname = "partner.dev.onshape.com" + //}); } } }