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