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; }
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; }
private void InitializeFakeObjects() { _clientSecretPostAuthentication = new ClientSecretPostAuthentication(); }
private void InitializeFakeObjects() { _clientPasswordServiceStub = new Mock <IClientPasswordService>(); _clientSecretPostAuthentication = new ClientSecretPostAuthentication(_clientPasswordServiceStub.Object); }