1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-22 09:21:34 +02:00
invoiceninja/app/Http/Controllers/Bank/YodleeController.php

36 lines
762 B
PHP
Raw Normal View History

2022-07-28 06:09:13 +02:00
<?php
/**
* Invoice Ninja (https://invoiceninja.com).
*
* @link https://github.com/invoiceninja/invoiceninja source repository
*
* @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
*
* @license https://www.elastic.co/licensing/elastic-license
*/
namespace App\Http\Controllers\Bank;
2022-07-28 08:29:42 +02:00
use App\Helpers\Bank\Yodlee\Yodlee;
2022-07-28 06:09:13 +02:00
use App\Http\Controllers\BaseController;
use Illuminate\Http\Request;
class YodleeController extends BaseController
{
public function auth(Request $request)
{
2022-07-28 08:29:42 +02:00
$yodlee = new Yodlee(true);
2022-07-28 06:09:13 +02:00
$data = [
2022-07-28 08:29:42 +02:00
'access_token' => $yodlee->getAccessToken(),
'fasttrack_url' => $yodlee->fast_track_url
2022-07-28 06:09:13 +02:00
];
return view('bank.yodlee.auth', $data);
}
}