Ejemplo n.º 1
0
 public TrueLayerService(IOptions <MyAppSettings> myAppSettings, ILoginsRepository loginsRepository, ITrueLayerApi trueLayerApi, ITrueLayerAuthApi trueLayerAuthApi)
 {
     this.loginsRepository = loginsRepository;
     this.trueLayerApi     = trueLayerApi;
     this.trueLayerAuthApi = trueLayerAuthApi;
     this.myAppSettings    = myAppSettings.Value;
 }
Ejemplo n.º 2
0
 public CallBackController(IOptions <MyAppSettings> settings, ILogger <CallBackController> logger, ILoginsRepository loginsRepository, ITrueLayerAuthApi trueLayerAuthApi)
 {
     this.logger           = logger;
     this.loginsRepository = loginsRepository;
     this.trueLayerAuthApi = trueLayerAuthApi;
     this.settings         = settings.Value;
 }