Exemple #1
0
 public AuthService(IInternalAuthService internalAuthService,
                    ISyncManager syncManager,
                    IUserDataService userDataService,
                    AvatarSaver avatarSaver,
                    ILogManager logManager, IAccountRepository accountRepository)
 {
     _internalAuthService = internalAuthService;
     _syncManager         = syncManager;
     _userDataService     = userDataService;
     _avatarSaver         = avatarSaver;
     _accountRepository   = accountRepository;
     _logger = logManager.GetLogger(Scopes.Login, LogManagerFactory.DefaultConfiguration);
 }
Exemple #2
0
 public InternalAuthController(IInternalAuthService internalAuthService, ICommonAuthService commonAuthService)
 {
     _internalAuthService = internalAuthService;
     _commonAuthService   = commonAuthService;
 }
 public RuntimeAccount(UserInfo userInfo, IInternalAuthService internalAuthService)
 {
     _userInfo            = userInfo;
     _internalAuthService = internalAuthService;
 }