/// <summary> /// Constructor. /// </summary> /// <param name="facebookAuthRepository"></param> /// <param name="loginTokenManager"></param> public FacebookAuthManager(IFacebookAuthRepository facebookAuthRepository, ILoginTokenManager loginTokenManager) { _facebookAuthRepository = facebookAuthRepository; _loginTokenManager = loginTokenManager; _identityUrl = ConfigurationManager.AppSettings["IdentityUrl"]; _socialUrl = ConfigurationManager.AppSettings["SocialUrl"]; _notificationsUrl = ConfigurationManager.AppSettings["NotificationsUrl"]; }
/// <summary> /// Constructor. /// </summary> /// <param name="authRepository"></param> /// <param name="loginTokenManager"></param> public AuthManager(IAuthRepository authRepository, ILoginTokenManager loginTokenManager, IFacebookAuthRepository facebookAuthRepository) { _blockHandlers = new Dictionary <RegistrationTypeEnum, BlockHandler>(); InitializeBlockHandlers(); _authRepository = authRepository; _facebookAuthRepository = facebookAuthRepository; _loginTokenManager = loginTokenManager; _identityUrl = ConfigurationManager.AppSettings["IdentityUrl"]; _socialUrl = ConfigurationManager.AppSettings["SocialUrl"]; _notificationsUrl = ConfigurationManager.AppSettings["NotificationsUrl"]; }
/// <summary> /// Constructor. /// </summary> /// <param name="authManager"></param> /// <param name="loginTokenManager"></param> /// <param name="facebookAuthManager"></param> public AuthController(IAuthManager authManager, ILoginTokenManager loginTokenManager, IFacebookAuthManager facebookAuthManager) { _authManager = authManager; _loginTokenManager = loginTokenManager; _facebookAuthManager = facebookAuthManager; }