adding a configurable hostname when creating the onshape owin middleware

This commit is contained in:
Tathagata Chakraborty
2015-09-15 11:09:57 +05:30
parent 4f56f6387a
commit e73197a619
4 changed files with 29 additions and 13 deletions

View File

@@ -298,7 +298,14 @@ namespace OwinOAuthProvidersDemo
//app.UseOnshapeAuthentication(
// appKey: "",
// appSecret: "");
// appSecret: "",
// callbackPath: "/oauthRedirect");
//
//app.UseOnshapeAuthentication(
// appKey: "",
// appSecret: "",
// callbackPath: "/oauthRedirect",
// hostname: "partner.dev.onshape.com");
}
}
}