<?php

namespace App\Http\Controllers;

use App\Http\Modules\Auth\PodioAuthentication;

use Illuminate\Http\Request;

class TestController extends Controller
{
    public function testAuth()
    {
      
        $authentication = new PodioAuthentication;
        $status = $authentication->authenticatePodio();
        
        if ($status === true) {
            return view('authSucces');
        } else {
            dd("Authentication failed");
        }
    }
}
