Switch to new auth API
This commit is contained in:
parent
0f4295f90e
commit
dbc5bf9a48
|
|
@ -57,8 +57,7 @@ namespace ChatSample
|
||||||
services.AddSignalR()
|
services.AddSignalR()
|
||||||
//.AddRedis()
|
//.AddRedis()
|
||||||
;
|
;
|
||||||
services.AddAuthentication();
|
services.AddAuthentication().AddCookie();
|
||||||
services.AddCookieAuthentication();
|
|
||||||
|
|
||||||
services.AddSingleton(typeof(DefaultHubLifetimeManager<>), typeof(DefaultHubLifetimeManager<>));
|
services.AddSingleton(typeof(DefaultHubLifetimeManager<>), typeof(DefaultHubLifetimeManager<>));
|
||||||
services.AddSingleton(typeof(HubLifetimeManager<>), typeof(DefaultPresenceHublifetimeManager<>));
|
services.AddSingleton(typeof(HubLifetimeManager<>), typeof(DefaultPresenceHublifetimeManager<>));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue