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; }
public UserinfoController( IApplicationRepository applicationRepository, IKycRepository kycRepository, IClientAccountsRepository clientAccountsRepository, IClientsSessionsRepository clientsSessionsRepository, IWalletCredentialsRepository walletCredentialsRepository) { _applicationRepository = applicationRepository; _kycRepository = kycRepository; _clientAccountsRepository = clientAccountsRepository; _clientsSessionsRepository = clientsSessionsRepository; _walletCredentialsRepository = walletCredentialsRepository; }
public ClientTokenService(IClientsSessionsRepository sessionService) { _sessionService = sessionService; }