2020-05-12 15:57:23 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Bluesquare\Connect\Traits;
|
|
|
|
|
|
|
|
trait HasConnectTokens
|
|
|
|
{
|
2022-05-18 17:40:18 +02:00
|
|
|
public function fillConnectTokens(array $data)
|
|
|
|
{
|
|
|
|
$this->connect_access_token = $data['access_token'];
|
|
|
|
$this->connect_refresh_token = $data['refresh_token'];
|
|
|
|
$this->connect_expires_at = $data['expires_at'];
|
|
|
|
}
|
2020-05-12 15:57:23 +02:00
|
|
|
}
|