diff options
| author | Luke <luke.pulverenti@gmail.com> | 2015-04-03 21:12:09 -0400 |
|---|---|---|
| committer | Luke <luke.pulverenti@gmail.com> | 2015-04-03 21:12:09 -0400 |
| commit | 7bafdfadb9b395568d67bafb2ceeb02f1c203aab (patch) | |
| tree | b9cc0b422ace9ae8583729ccfa2bec86c849e030 /MediaBrowser.Server.Startup.Common/ApplicationHost.cs | |
| parent | ef505c8e9e2b8f348aeaa89be6bc446014b72996 (diff) | |
| parent | 4f7a69f3689c6aeba6021629818e4e3cced17475 (diff) | |
Merge pull request #1066 from MediaBrowser/master
create user info from exchange token
Diffstat (limited to 'MediaBrowser.Server.Startup.Common/ApplicationHost.cs')
| -rw-r--r-- | MediaBrowser.Server.Startup.Common/ApplicationHost.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs index df7b3f061..911a55634 100644 --- a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs +++ b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs @@ -525,7 +525,7 @@ namespace MediaBrowser.Server.Startup.Common RegisterSingleInstance(activityLogRepo); RegisterSingleInstance<IActivityManager>(new ActivityManager(LogManager.GetLogger("ActivityManager"), activityLogRepo, UserManager)); - var authContext = new AuthorizationContext(AuthenticationRepository); + var authContext = new AuthorizationContext(AuthenticationRepository, ConnectManager); RegisterSingleInstance<IAuthorizationContext>(authContext); RegisterSingleInstance<ISessionContext>(new SessionContext(UserManager, authContext, SessionManager)); RegisterSingleInstance<IAuthService>(new AuthService(UserManager, authContext, ServerConfigurationManager, ConnectManager, SessionManager, DeviceManager)); @@ -756,7 +756,7 @@ namespace MediaBrowser.Server.Startup.Common ChannelManager.AddParts(GetExports<IChannel>(), GetExports<IChannelFactory>()); MediaSourceManager.AddParts(GetExports<IMediaSourceProvider>()); - + NotificationManager.AddParts(GetExports<INotificationService>(), GetExports<INotificationTypeFactory>()); SyncManager.AddParts(GetExports<ISyncProvider>()); } |
