public BankIdApiController(
     UrlEncoder urlEncoder,
     ILogger <BankIdApiController> logger,
     IBankIdUserMessage bankIdUserMessage,
     IBankIdUserMessageLocalizer bankIdUserMessageLocalizer,
     IBankIdSupportedDeviceDetector bankIdSupportedDeviceDetector,
     IBankIdLauncher bankIdLauncher,
     IBankIdApiClient bankIdApiClient,
     IBankIdOrderRefProtector orderRefProtector,
     IBankIdLoginOptionsProtector loginOptionsProtector,
     IBankIdLoginResultProtector loginResultProtector,
     IEnumerable <IBankIdResultStore> bankIdResultStores,
     IBankIdQrCodeGenerator qrCodeGenerator,
     IEndUserIpResolver endUserIpResolver)
 {
     _urlEncoder                    = urlEncoder;
     _logger                        = logger;
     _bankIdUserMessage             = bankIdUserMessage;
     _bankIdUserMessageLocalizer    = bankIdUserMessageLocalizer;
     _bankIdSupportedDeviceDetector = bankIdSupportedDeviceDetector;
     _bankIdLauncher                = bankIdLauncher;
     _bankIdApiClient               = bankIdApiClient;
     _orderRefProtector             = orderRefProtector;
     _loginOptionsProtector         = loginOptionsProtector;
     _loginResultProtector          = loginResultProtector;
     _bankIdResultStores            = bankIdResultStores.ToList();
     _qrCodeGenerator               = qrCodeGenerator;
     _endUserIpResolver             = endUserIpResolver;
 }
Beispiel #2
0
 public BankIdApiController(
     UrlEncoder urlEncoder,
     ILogger <BankIdApiController> logger,
     IBankIdUserMessage bankIdUserMessage,
     IBankIdUserMessageLocalizer bankIdUserMessageLocalizer,
     IBankIdSupportedDeviceDetector bankIdSupportedDeviceDetector,
     IBankIdLauncher bankIdLauncher,
     IBankIdApiClient bankIdApiClient,
     IBankIdOrderRefProtector orderRefProtector,
     IBankIdLoginOptionsProtector loginOptionsProtector,
     IBankIdLoginResultProtector loginResultProtector,
     IBankIdResultStore bankIdResultStore)
 {
     _urlEncoder                    = urlEncoder;
     _logger                        = logger;
     _bankIdUserMessage             = bankIdUserMessage;
     _bankIdUserMessageLocalizer    = bankIdUserMessageLocalizer;
     _bankIdSupportedDeviceDetector = bankIdSupportedDeviceDetector;
     _bankIdLauncher                = bankIdLauncher;
     _bankIdApiClient               = bankIdApiClient;
     _orderRefProtector             = orderRefProtector;
     _loginOptionsProtector         = loginOptionsProtector;
     _loginResultProtector          = loginResultProtector;
     _bankIdResultStore             = bankIdResultStore;
 }
Beispiel #3
0
 public BankIdApiController(
     UrlEncoder urlEncoder,
     IBankIdUserMessage bankIdUserMessage,
     IBankIdUserMessageLocalizer bankIdUserMessageLocalizer,
     IBankIdSupportedDeviceDetector bankIdSupportedDeviceDetector,
     IBankIdLauncher bankIdLauncher,
     IBankIdApiClient bankIdApiClient,
     IBankIdOrderRefProtector orderRefProtector,
     IBankIdLoginOptionsProtector loginOptionsProtector,
     IBankIdLoginResultProtector loginResultProtector,
     IBankIdQrCodeGenerator qrCodeGenerator,
     IBankIdEndUserIpResolver bankIdEndUserIpResolver,
     IBankIdEventTrigger bankIdEventTrigger,
     IBankIdAuthRequestUserDataResolver bankIdAuthUserDataResolver)
 {
     _urlEncoder                    = urlEncoder;
     _bankIdUserMessage             = bankIdUserMessage;
     _bankIdUserMessageLocalizer    = bankIdUserMessageLocalizer;
     _bankIdSupportedDeviceDetector = bankIdSupportedDeviceDetector;
     _bankIdLauncher                = bankIdLauncher;
     _bankIdApiClient               = bankIdApiClient;
     _orderRefProtector             = orderRefProtector;
     _loginOptionsProtector         = loginOptionsProtector;
     _loginResultProtector          = loginResultProtector;
     _qrCodeGenerator               = qrCodeGenerator;
     _bankIdEndUserIpResolver       = bankIdEndUserIpResolver;
     _bankIdEventTrigger            = bankIdEventTrigger;
     _bankIdAuthUserDataResolver    = bankIdAuthUserDataResolver;
 }