osb/app/Models/ProviderToken.php

24 lines
379 B
PHP
Raw Normal View History

<?php
namespace App\Models;
2022-08-18 13:29:42 +00:00
use Intuit\Models\ProviderToken as ProviderTokenBase;
use App\Traits\SiteID;
2022-08-18 13:29:42 +00:00
class ProviderToken extends ProviderTokenBase
{
use SiteID;
protected $dates = [
'access_token_expires_at',
'refresh_token_expires_at',
];
2022-08-13 01:48:16 +00:00
/* RELATIONS */
public function provider()
{
return $this->belongsTo(ProviderOauth::class,'provider_oauth_id');
}
}