This repository was archived by the owner on Dec 13, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 10 files changed +19
-19
lines changed
Microsoft.AspNet.Security.Cookies
Microsoft.AspNet.Security.Facebook
Microsoft.AspNet.Security.Google
Microsoft.AspNet.Security.MicrosoftAccount
Microsoft.AspNet.Security.OAuth
test/Microsoft.AspNet.Security.Test Expand file tree Collapse file tree 10 files changed +19
-19
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ public class Startup
1010 {
1111 public void Configure ( IApplicationBuilder app )
1212 {
13- app . UseServices ( services => { } ) ;
13+ app . UseRequestServices ( ) ;
1414 app . UseCookieAuthentication ( options =>
1515 {
1616 options . SessionStore = new MemoryCacheSessionStore ( ) ;
Original file line number Diff line number Diff line change 11{
2- "dependencies" : {
3- "Microsoft.AspNet.Security.Cookies" : " 1.0.0-*" ,
4- "Microsoft.AspNet.Server.WebListener" : " 1.0.0-*" ,
5- "Microsoft.Framework.Cache.Memory" : " 1.0.0-*" ,
6- "Microsoft.Framework.DependencyInjection" : " 1.0.0-*"
7- },
8- "commands" : { "web" : " Microsoft.AspNet.Hosting server=Microsoft.AspNet.Server.WebListener server.urls=http://localhost:12345" },
9- "frameworks" : {
10- "aspnet50" : {
2+ "dependencies" : {
3+ "Microsoft.AspNet.RequestContainer" : " 1.0.0-*" ,
4+ "Microsoft.AspNet.Security.Cookies" : " 1.0.0-*" ,
5+ "Microsoft.AspNet.Server.WebListener" : " 1.0.0-*" ,
6+ "Microsoft.Framework.Cache.Memory" : " 1.0.0-*" ,
7+ "Microsoft.Framework.DependencyInjection" : " 1.0.0-*"
118 },
12- "aspnetcore50" : {
9+ "commands" : { "web" : " Microsoft.AspNet.Hosting server=Microsoft.AspNet.Server.WebListener server.urls=http://localhost:12345" },
10+ "frameworks" : {
11+ "aspnet50" : { },
12+ "aspnetcore50" : { }
1313 }
14- }
1514}
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ public void Configure(IApplicationBuilder app)
2626
2727 app . UseServices ( services =>
2828 {
29- services . ConfigureOptions < ExternalAuthenticationOptions > ( options =>
29+ services . Configure < ExternalAuthenticationOptions > ( options =>
3030 {
3131 options . SignInAsAuthenticationType = CookieAuthenticationDefaults . AuthenticationType ;
3232 } ) ;
Original file line number Diff line number Diff line change 11{
22 "version" : " 1.0.0-*" ,
33 "dependencies" : {
4- "Microsoft.AspNet.RequestContainer " : " 1.0.0-*" ,
4+ "Microsoft.AspNet.Http.Extensions " : " 1.0.0-*" ,
55 "Microsoft.AspNet.Security" : " 1.0.0-*" ,
66 "Microsoft.AspNet.Security.DataProtection" : " 1.0.0-*" ,
77 "Microsoft.Framework.DependencyInjection" : " 1.0.0-*" ,
Original file line number Diff line number Diff line change 11{
22 "version" : " 1.0.0-*" ,
33 "dependencies" : {
4- "Microsoft.AspNet.RequestContainer " : " 1.0.0-*" ,
4+ "Microsoft.AspNet.Http.Extensions " : " 1.0.0-*" ,
55 "Microsoft.AspNet.Security" : " 1.0.0-*" ,
66 "Microsoft.AspNet.Security.DataProtection" : " 1.0.0-*" ,
77 "Microsoft.AspNet.Security.OAuth" : " 1.0.0-*" ,
Original file line number Diff line number Diff line change 11{
22 "version" : " 1.0.0-*" ,
33 "dependencies" : {
4- "Microsoft.AspNet.RequestContainer " : " 1.0.0-*" ,
4+ "Microsoft.AspNet.Http.Extensions " : " 1.0.0-*" ,
55 "Microsoft.AspNet.Security" : " 1.0.0-*" ,
66 "Microsoft.AspNet.Security.DataProtection" : " 1.0.0-*" ,
77 "Microsoft.AspNet.Security.OAuth" : " 1.0.0-*" ,
Original file line number Diff line number Diff line change 11{
22 "version" : " 1.0.0-*" ,
33 "dependencies" : {
4- "Microsoft.AspNet.RequestContainer " : " 1.0.0-*" ,
4+ "Microsoft.AspNet.Http.Extensions " : " 1.0.0-*" ,
55 "Microsoft.AspNet.Security" : " 1.0.0-*" ,
66 "Microsoft.AspNet.Security.DataProtection" : " 1.0.0-*" ,
77 "Microsoft.AspNet.Security.OAuth" : " 1.0.0-*" ,
Original file line number Diff line number Diff line change 11{
22 "version" : " 1.0.0-*" ,
33 "dependencies" : {
4- "Microsoft.AspNet.RequestContainer " : " 1.0.0-*" ,
4+ "Microsoft.AspNet.Http.Extensions " : " 1.0.0-*" ,
55 "Microsoft.AspNet.Security" : " 1.0.0-*" ,
66 "Microsoft.AspNet.Security.DataProtection" : " 1.0.0-*" ,
77 "Microsoft.AspNet.WebUtilities" : " 1.0.0-*" ,
Original file line number Diff line number Diff line change 11{
22 "version" : " 1.0.0-*" ,
33 "dependencies" : {
4- "Microsoft.AspNet.RequestContainer " : " 1.0.0-*" ,
4+ "Microsoft.AspNet.Http.Extensions " : " 1.0.0-*" ,
55 "Microsoft.AspNet.Security" : " 1.0.0-*" ,
66 "Microsoft.AspNet.Security.DataProtection" : " 1.0.0-*" ,
77 "Microsoft.AspNet.WebUtilities" : " 1.0.0-*" ,
Original file line number Diff line number Diff line change 44 },
55 "dependencies" : {
66 "Microsoft.AspNet.Http" : " 1.0.0-*" ,
7+ "Microsoft.AspNet.RequestContainer" : " 1.0.0-*" ,
78 "Microsoft.AspNet.Security" : " 1.0.0-*" ,
89 "Microsoft.AspNet.Security.Cookies" : " 1.0.0-*" ,
910 "Microsoft.AspNet.Security.Facebook" : " 1.0.0-*" ,
You can’t perform that action at this time.
0 commit comments