Browse Source

React to API changes in aspnet-contrib/AspNet.Security.OAuth.Extensions

ca2c9ff06c
pull/369/head
Kévin Chalet 10 years ago
parent
commit
e82baf9fab
  1. 5
      samples/Mvc.Server/Startup.cs

5
samples/Mvc.Server/Startup.cs

@ -100,12 +100,11 @@ namespace Mvc.Server
// //
// branch.UseOAuthIntrospection(options => // branch.UseOAuthIntrospection(options =>
// { // {
// options.AutomaticAuthenticate = true; // options.Authority = new Uri("http://localhost:54540/");
// options.AutomaticChallenge = true;
// options.Authority = "http://localhost:54540/";
// options.Audiences.Add("resource_server"); // options.Audiences.Add("resource_server");
// options.ClientId = "resource_server"; // options.ClientId = "resource_server";
// options.ClientSecret = "875sqd4s5d748z78z7ds1ff8zz8814ff88ed8ea4z4zzd"; // options.ClientSecret = "875sqd4s5d748z78z7ds1ff8zz8814ff88ed8ea4z4zzd";
// options.RequireHttpsMetadata = false;
// }); // });
}); });

Loading…
Cancel
Save