コード例 #1
0
 public ClientResolver(
     [NotNull] ILog log,
     [NotNull] IClientsSessionsRepository sessionService,
     [NotNull] IMemoryCache cache,
     [NotNull] IOAuthTokenValidator authTokenValidator)
 {
     _log                = log ?? throw new ArgumentNullException(nameof(log));
     _sessionService     = sessionService ?? throw new ArgumentNullException(nameof(sessionService));
     _cache              = cache ?? throw new ArgumentNullException(nameof(cache));
     _authTokenValidator = authTokenValidator;
 }
コード例 #2
0
 public UserinfoController(
     IApplicationRepository applicationRepository,
     IKycRepository kycRepository,
     IClientAccountsRepository clientAccountsRepository,
     IClientsSessionsRepository clientsSessionsRepository,
     IWalletCredentialsRepository walletCredentialsRepository)
 {
     _applicationRepository       = applicationRepository;
     _kycRepository               = kycRepository;
     _clientAccountsRepository    = clientAccountsRepository;
     _clientsSessionsRepository   = clientsSessionsRepository;
     _walletCredentialsRepository = walletCredentialsRepository;
 }
コード例 #3
0
 public ClientTokenService(IClientsSessionsRepository sessionService)
 {
     _sessionService = sessionService;
 }