public CryptoService( IStateService stateService, ICryptoFunctionService cryptoFunctionService) { _stateService = stateService; _cryptoFunctionService = cryptoFunctionService; }
public AuditService( ICryptoFunctionService cryptoFunctionService, IApiService apiService) { _cryptoFunctionService = cryptoFunctionService; _apiService = apiService; }
public TotpService( IStorageService storageService, ICryptoFunctionService cryptoFunctionService) { _storageService = storageService; _cryptoFunctionService = cryptoFunctionService; }
public CryptoService( IStorageService storageService, IStorageService secureStorageService, ICryptoFunctionService cryptoFunctionService) { _storageService = storageService; _secureStorageService = secureStorageService; _cryptoFunctionService = cryptoFunctionService; }
public PasswordGenerationService( ICryptoService cryptoService, IStorageService storageService, ICryptoFunctionService cryptoFunctionService) { _cryptoService = cryptoService; _storageService = storageService; _cryptoFunctionService = cryptoFunctionService; }
public PasswordGenerationService( ICryptoService cryptoService, IStateService stateService, ICryptoFunctionService cryptoFunctionService, IPolicyService policyService) { _cryptoService = cryptoService; _stateService = stateService; _cryptoFunctionService = cryptoFunctionService; _policyService = policyService; }
public SendService( ICryptoService cryptoService, IUserService userService, IApiService apiService, IStorageService storageService, II18nService i18nService, ICryptoFunctionService cryptoFunctionService) { _cryptoService = cryptoService; _userService = userService; _apiService = apiService; _storageService = storageService; _i18nService = i18nService; _cryptoFunctionService = cryptoFunctionService; }
public LoginSsoPageViewModel() { _deviceActionService = ServiceContainer.Resolve <IDeviceActionService>("deviceActionService"); _authService = ServiceContainer.Resolve <IAuthService>("authService"); _syncService = ServiceContainer.Resolve <ISyncService>("syncService"); _apiService = ServiceContainer.Resolve <IApiService>("apiService"); _passwordGenerationService = ServiceContainer.Resolve <IPasswordGenerationService>("passwordGenerationService"); _cryptoFunctionService = ServiceContainer.Resolve <ICryptoFunctionService>("cryptoFunctionService"); _platformUtilsService = ServiceContainer.Resolve <IPlatformUtilsService>("platformUtilsService"); _stateService = ServiceContainer.Resolve <IStateService>("stateService"); PageTitle = AppResources.Bitwarden; LogInCommand = new Command(async() => await LogInAsync()); }
public SendService( ICryptoService cryptoService, IStateService stateService, IApiService apiService, IFileUploadService fileUploadService, II18nService i18nService, ICryptoFunctionService cryptoFunctionService) { _cryptoService = cryptoService; _stateService = stateService; _apiService = apiService; _fileUploadService = fileUploadService; _i18nService = i18nService; _cryptoFunctionService = cryptoFunctionService; }
public AuthService( ICryptoService cryptoService, ICryptoFunctionService cryptoFunctionService, IApiService apiService, IStateService stateService, ITokenService tokenService, IAppIdService appIdService, II18nService i18nService, IPlatformUtilsService platformUtilsService, IMessagingService messagingService, IVaultTimeoutService vaultTimeoutService, IKeyConnectorService keyConnectorService, bool setCryptoKeys = true) { _cryptoService = cryptoService; _cryptoFunctionService = cryptoFunctionService; _apiService = apiService; _stateService = stateService; _tokenService = tokenService; _appIdService = appIdService; _i18nService = i18nService; _platformUtilsService = platformUtilsService; _messagingService = messagingService; _keyConnectorService = keyConnectorService; _setCryptoKeys = setCryptoKeys; TwoFactorProviders = new Dictionary <TwoFactorProviderType, TwoFactorProvider>(); TwoFactorProviders.Add(TwoFactorProviderType.Authenticator, new TwoFactorProvider { Type = TwoFactorProviderType.Authenticator, Priority = 1, Sort = 1 }); TwoFactorProviders.Add(TwoFactorProviderType.YubiKey, new TwoFactorProvider { Type = TwoFactorProviderType.YubiKey, Priority = 3, Sort = 2, Premium = true }); TwoFactorProviders.Add(TwoFactorProviderType.Duo, new TwoFactorProvider { Type = TwoFactorProviderType.Duo, Name = "Duo", Priority = 2, Sort = 3, Premium = true }); TwoFactorProviders.Add(TwoFactorProviderType.OrganizationDuo, new TwoFactorProvider { Type = TwoFactorProviderType.OrganizationDuo, Name = "Duo (Organization)", Priority = 10, Sort = 4 }); TwoFactorProviders.Add(TwoFactorProviderType.Fido2WebAuthn, new TwoFactorProvider { Type = TwoFactorProviderType.Fido2WebAuthn, Priority = 4, Sort = 5, Premium = true }); TwoFactorProviders.Add(TwoFactorProviderType.Email, new TwoFactorProvider { Type = TwoFactorProviderType.Email, Priority = 0, Sort = 6, }); }
public TotpService( ICryptoFunctionService cryptoFunctionService) { _cryptoFunctionService = cryptoFunctionService; }