private Task LookupClient(OAuthLookupClientContext context) { // this's where you go to db and find your client based on the id if (context.ClientId == "123456") { context.ClientFound( clientSecret: "abcdef", redirectUri: "http://localhost:18002/Katana.Sandbox.WebClient/ClientApp.aspx"); } else if (context.ClientId == "7890ab") { context.ClientFound( clientSecret: "7890ab", redirectUri: "http://localhost:18002/Katana.Sandbox.WebClient/ClientPageSignIn.html"); } return Task.FromResult(0); }
private Task LookupClient(OAuthLookupClientContext context) { // this's where you go to db and find your client based on the id if (context.ClientId == "123456") { context.ClientFound( clientSecret: "abcdef", redirectUri: "http://localhost:18002/Katana.Sandbox.WebClient/ClientApp.aspx"); } else if (context.ClientId == "7890ab") { context.ClientFound( clientSecret: "7890ab", redirectUri: "http://localhost:18002/Katana.Sandbox.WebClient/ClientPageSignIn.html"); } return(Task.FromResult(0)); }