public DefaultBuildTransactionStrategy(
     IBlockchainService blockchainService,
     INonceService nonceService,
     ITransactionRepository transactionRepository)
 {
     _blockchainService     = blockchainService;
     _nonceService          = nonceService;
     _transactionRepository = transactionRepository;
 }
Пример #2
0
 public NonceLoginApiController(
     IUtilsServices utilsServices,
     IUsersExtensionsServices usersExtensionsServices,
     INonceService nonceService,
     IAuthenticationService authenticationService,
     IUserEventHandler userEventHandler,
     IEnumerable <IIdentityProvider> identityProviders
     )
 {
     _utilsServices           = utilsServices;
     _usersExtensionsServices = usersExtensionsServices;
     _nonceService            = nonceService;
     _authenticationService   = authenticationService;
     _userEventHandler        = userEventHandler;
     _identityProviders       = identityProviders;
 }
Пример #3
0
 public AcmeController(
     IDirectoryService directoryService,
     INonceService nonceService,
     IAccountService accountService,
     IOrderService orderService,
     IChallengeService challengeService,
     IAuthorizationService authorizationService,
     IConverterService converterService,
     IOptions <ServerOptions> options)
 {
     DirectoryService     = directoryService ?? throw new ArgumentNullException(nameof(directoryService));
     NonceService         = nonceService ?? throw new ArgumentNullException(nameof(nonceService));
     AccountService       = accountService ?? throw new ArgumentNullException(nameof(accountService));
     OrderService         = orderService ?? throw new ArgumentNullException(nameof(orderService));
     ChallengeService     = challengeService ?? throw new ArgumentNullException(nameof(challengeService));
     AuthorizationService = authorizationService ?? throw new ArgumentNullException(nameof(authorizationService));
     ConverterService     = converterService ?? throw new ArgumentNullException(nameof(converterService));
     Options = options?.Value ?? throw new ArgumentNullException(nameof(options));
 }
Пример #4
0
 public AddNextNonceFilter(INonceService nonceService, ILogger <AddNextNonceFilter> logger)
 {
     _nonceService = nonceService;
     _logger       = logger;
 }
Пример #5
0
 public NonceTagHelper(INonceService nonceService)
 {
     _nonceService = nonceService;
 }