Initial integration with Quicken (Intuit API), rework oauth tables, update/test google login
This commit is contained in:
24
app/Models/ProviderOauth.php
Normal file
24
app/Models/ProviderOauth.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class ProviderOauth extends Model
|
||||
{
|
||||
protected $table = 'provider_oauth';
|
||||
|
||||
protected $fillable = ['name','active'];
|
||||
|
||||
/* RELATIONS */
|
||||
|
||||
public function tokens()
|
||||
{
|
||||
return $this->hasMany(ProviderToken::class);
|
||||
}
|
||||
|
||||
public function users()
|
||||
{
|
||||
return $this->hasMany(UserOauth::class);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user