public AuthenticateClient( IClientSecretBasicAuthentication clientSecretBasicAuthentication, IClientSecretPostAuthentication clientSecretPostAuthentication, IClientAssertionAuthentication clientAssertionAuthentication, IClientTlsAuthentication clientTlsAuthentication, IClientRepository clientRepository, IOAuthEventSource oAuthEventSource) { _clientSecretBasicAuthentication = clientSecretBasicAuthentication; _clientSecretPostAuthentication = clientSecretPostAuthentication; _clientAssertionAuthentication = clientAssertionAuthentication; _clientTlsAuthentication = clientTlsAuthentication; _clientRepository = clientRepository; _oauthEventSource = oAuthEventSource; }
public AuthenticateClient( IClientSecretBasicAuthentication clientSecretBasicAuthentication, IClientSecretPostAuthentication clientSecretPostAuthentication, IClientAssertionAuthentication clientAssertionAuthentication, IClientTlsAuthentication clientTlsAuthentication, IClientRepository clientRepository, ISimpleIdentityServerEventSource simpleIdentityServerEventSource) { _clientSecretBasicAuthentication = clientSecretBasicAuthentication; _clientSecretPostAuthentication = clientSecretPostAuthentication; _clientAssertionAuthentication = clientAssertionAuthentication; _clientTlsAuthentication = clientTlsAuthentication; _clientRepository = clientRepository; _simpleIdentityServerEventSource = simpleIdentityServerEventSource; }
private void InitializeFakeObjects() { _clientPasswordServiceStub = new Mock <IClientPasswordService>(); _clientSecretBasicAuthentication = new ClientSecretBasicAuthentication(_clientPasswordServiceStub.Object); }
private void InitializeFakeObjects() { _clientSecretBasicAuthentication = new ClientSecretBasicAuthentication(); }