Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ExternalAuthenticationService"/> class.
 /// </summary>
 /// <param name="socialAuthenticationService">The social authentication service.</param>
 /// <param name="userRepository">The user repository.</param>
 /// <param name="userService">The user service.</param>
 public ExternalAuthenticationService(
     ISocialAuthenticationService socialAuthenticationService,
     IRepository <User> userRepository,
     IUserService userService)
 {
     this.socialAuthenticationService = socialAuthenticationService;
     this.userRepository = userRepository;
     this.userService    = userService;
 }
 public AccountController(ISocialAuthenticationService authService, IPredefinedDataService predefDataService)
 {
     _authService       = authService;
     _predefDataService = predefDataService;
 }