public LoginController(UserManager <ApplicationUserEntity> userManager, IAuthenticationService authentificationService, ApplicationDbContext entityContext, IFacebookAuthenticationService facebookAuthenticationService) { this.facebookAuthenticationService = facebookAuthenticationService; this.userManager = userManager; this.authenticationService = authentificationService; this.entityContext = entityContext; authorizedUserModel = new AuthorizedUserModel(); }
public LoginWithFacebookPageViewModel( IFacebookAuthenticationService facebookAuthenticationService, IClientService clientService, IPageNavigator pageNavigator) { _facebookAuthenticationService = facebookAuthenticationService; _clientService = clientService; _pageNavigator = pageNavigator; InitCommands(); _state = RequestUtils.GetUuid(); PageUrl = _facebookAuthenticationService.GetAuthenticationPageUrl(_state); }