<?php

use PDFfiller\OAuth2\Client\Provider\Token;
$provider = (require_once __DIR__ . '/../bootstrap/initWithFabric.php');
$tokenEntity = new \PDFfiller\OAuth2\Client\Provider\Token($provider);
$e = Token::all($provider);
dd($e);
<?php

use PDFfiller\OAuth2\Client\Provider\Token;
$provider = (require_once __DIR__ . '/../bootstrap/initWithFabric.php');
$token = Token::one($provider, 617);
$token->data['key3'] = 'data30';
dd($token->save(false));
<?php

use PDFfiller\OAuth2\Client\Provider\Token;
$provider = (require_once __DIR__ . '/../bootstrap/initWithFabric.php');
$token = new Token($provider);
$token->data = ['key1' => 'value1', 'key2' => 'value2'];
dd($token->save());