コード例 #1
0
 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;
 }
コード例 #2
0
 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;
 }
コード例 #3
0
 private void InitializeFakeObjects()
 {
     _clientSecretPostAuthentication = new ClientSecretPostAuthentication();
 }
 private void InitializeFakeObjects()
 {
     _clientPasswordServiceStub      = new Mock <IClientPasswordService>();
     _clientSecretPostAuthentication = new ClientSecretPostAuthentication(_clientPasswordServiceStub.Object);
 }