Class ExternalOtpEventsService

java.lang.Object
es.kukenan.smartfi.microservice.firm.service.events.ExternalOtpEventsService

@Service public class ExternalOtpEventsService extends Object
Service for handler external otp events.
  • Field Details

    • amqpController

      @Autowired private AmqpController amqpController
      AMQP controller.
    • kafkaController

      @Autowired private KafkaController kafkaController
      Kafka Controller.
    • requestContextManager

      @Autowired private es.kukenan.smartfi.common.context.RequestContextManager requestContextManager
      Request context for send events.
  • Constructor Details

    • ExternalOtpEventsService

      public ExternalOtpEventsService()
  • Method Details

    • publishOtpGeneratedEvent

      public void publishOtpGeneratedEvent(String userId, String otpValue, String deviceId, String operationType, Boolean ignorePrimaryChannel)
      Publish a Otp generated notification.
      Parameters:
      userId - user identification.
      otpValue - otp generated.
      deviceId - device unique identifier.
      operationType - Event operation type Otp generated.
      ignorePrimaryChannel - indicates if the primary channel should be ignored.
    • publishSignaturePendingNotification

      public void publishSignaturePendingNotification(String userId, String firmId, String deviceId, String operationType)
      Publish a Otp generated notification.
      Parameters:
      userId - user identification.
      firmId - signatureId generated.
      deviceId - device unique identifier.
      operationType - Event operation type Otp generated.
    • publishUserPsd2ScaUpdatedEvent

      public void publishUserPsd2ScaUpdatedEvent(String userId, String tpp, String operationType)
      Publish a User Psd2 SCA updated event.
      Parameters:
      userId - user identification.
      tpp - Tpp identification.
      operationType - Event operation type Sca Updated.