public OtpActivationService( IMapper mapper, Func <IInventContext> contextFactory, Func <IInventContext, ISecurityUserProvider> securityUserProviderFactory, IProtectedDataProvider protectedDataProvider) { _mapper = mapper; _contextFactory = contextFactory; _securityUserProviderFactory = securityUserProviderFactory; _protectedDataProvider = protectedDataProvider; }
public OtpSecretKeyProvider( Func <IInventContext> contextFactory, Func <IInventContext, ISecurityUserProvider> securityUserProviderFactory, IRandomArrayGenerator randomArrayGenerator, IProtectedDataProvider protectedDataProvider) { _contextFactory = contextFactory; _securityUserProviderFactory = securityUserProviderFactory; _randomArrayGenerator = randomArrayGenerator; _protectedDataProvider = protectedDataProvider; }