Exemplo n.º 1
0
 public UpdateClientAction(
     IClientRepository clientRepository,
     IGenerateClientFromRegistrationRequest generateClientFromRegistrationRequest)
 {
     _clientRepository = clientRepository;
     _generateClientFromRegistrationRequest = generateClientFromRegistrationRequest;
 }
 private void InitializeFakeObjects()
 {
     _registrationParameterValidatorFake    = new Mock <IRegistrationParameterValidator>();
     _jsonWebKeyConverterFake               = new Mock <IJsonWebKeyConverter>();
     _generateClientFromRegistrationRequest = new GenerateClientFromRegistrationRequest(
         _registrationParameterValidatorFake.Object,
         _jsonWebKeyConverterFake.Object);
 }
Exemplo n.º 3
0
 public UpdateClientAction(IClientRepository clientRepository, IGenerateClientFromRegistrationRequest generateClientFromRegistrationRequest, IScopeRepository scopeRepository,
                           IManagerEventSource managerEventSource)
 {
     _clientRepository = clientRepository;
     _generateClientFromRegistrationRequest = generateClientFromRegistrationRequest;
     _scopeRepository    = scopeRepository;
     _managerEventSource = managerEventSource;
 }
 public RegisterClientAction(IOAuthEventSource oauthEventSource, IClientRepository clientRepository, IGenerateClientFromRegistrationRequest generateClientFromRegistrationRequest,
                             IClientPasswordService clientPasswordService, IClientInfoService clientInfoService)
 {
     _oauthEventSource = oauthEventSource;
     _clientRepository = clientRepository;
     _generateClientFromRegistrationRequest = generateClientFromRegistrationRequest;
     _clientPasswordService = clientPasswordService;
     _clientInfoService     = clientInfoService;
 }
 public RegisterClientAction(
     ISimpleIdentityServerEventSource simpleIdentityServerEventSource,
     IClientRepository clientRepository,
     IGenerateClientFromRegistrationRequest generateClientFromRegistrationRequest,
     IPasswordService encryptedPasswordFactory)
 {
     _simpleIdentityServerEventSource = simpleIdentityServerEventSource;
     _clientRepository = clientRepository;
     _generateClientFromRegistrationRequest = generateClientFromRegistrationRequest;
     _encryptedPasswordFactory = encryptedPasswordFactory;
 }
 public RegisterClientAction(
     IOAuthEventSource oauthEventSource,
     IClientRepository clientRepository,
     IGenerateClientFromRegistrationRequest generateClientFromRegistrationRequest,
     IClientPasswordService encryptedPasswordFactory)
 {
     _oauthEventSource = oauthEventSource;
     _clientRepository = clientRepository;
     _generateClientFromRegistrationRequest = generateClientFromRegistrationRequest;
     _encryptedPasswordFactory = encryptedPasswordFactory;
 }