From c584e0f182cd6579ec5684f6b210ec5adc7b189f Mon Sep 17 00:00:00 2001 From: Hao Kung Date: Wed, 2 Sep 2015 16:00:51 -0700 Subject: [PATCH] React to Security --- samples/IdentitySample.Mvc/Startup.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/IdentitySample.Mvc/Startup.cs b/samples/IdentitySample.Mvc/Startup.cs index 004f1c040f..1247079a66 100644 --- a/samples/IdentitySample.Mvc/Startup.cs +++ b/samples/IdentitySample.Mvc/Startup.cs @@ -47,17 +47,17 @@ namespace IdentitySamples .AddEntityFrameworkStores() .AddDefaultTokenProviders(); - services.ConfigureFacebookAuthentication(options => + services.AddFacebookAuthentication(options => { options.AppId = "901611409868059"; options.AppSecret = "4aa3c530297b1dcebc8860334b39668b"; }); - services.ConfigureGoogleAuthentication(options => + services.AddGoogleAuthentication(options => { options.ClientId = "514485782433-fr3ml6sq0imvhi8a7qir0nb46oumtgn9.apps.googleusercontent.com"; options.ClientSecret = "V2nDD9SkFbvLTqAUBWBBxYAL"; }); - services.ConfigureTwitterAuthentication(options => + services.AddTwitterAuthentication(options => { options.ConsumerKey = "BSdJJ0CrDuvEhpkchnukXZBUv"; options.ConsumerSecret = "xKUNuKhsRdHD03eLn67xhPAyE1wFFEndFo1X2UJaK2m1jdAxf4";