예제 #1
0
 public UserInfoActions(IGetJwsPayload getJwsPayload, IEventPublisher eventPublisher,
                        IPayloadSerializer payloadSerializer)
 {
     _getJwsPayload     = getJwsPayload;
     _eventPublisher    = eventPublisher;
     _payloadSerializer = payloadSerializer;
 }
 private void InitializeFakeObjects()
 {
     _grantedTokenValidatorFake  = new Mock <IGrantedTokenValidator>();
     _grantedTokenRepositoryFake = new Mock <IGrantedTokenRepository>();
     _jwtGeneratorFake           = new Mock <IJwtGenerator>();
     _clientRepositoryFake       = new Mock <IClientRepository>();
     _getJwsPayload = new GetJwsPayload(
         _grantedTokenValidatorFake.Object,
         _grantedTokenRepositoryFake.Object,
         _jwtGeneratorFake.Object,
         _clientRepositoryFake.Object);
 }
예제 #3
0
 public UserInfoActions(IGetJwsPayload getJwsPayload, IEventPublisher eventPublisher)
 {
     _getJwsPayload  = getJwsPayload;
     _eventPublisher = eventPublisher;
 }