mirror of
https://github.com/webmasterskaya/joomla-oauth-server.git
synced 2024-11-24 02:44:51 +03:00
Refactoring doc block
This commit is contained in:
parent
41c3e8fa96
commit
8fe273aed2
@ -17,11 +17,11 @@ use Joomla\Database\DatabaseDriver;
|
|||||||
/**
|
/**
|
||||||
* @property int $id
|
* @property int $id
|
||||||
* @property string $identifier
|
* @property string $identifier
|
||||||
* @property \DateTimeImmutable|\DateTime|string $expiry
|
* @property \DateTimeInterface|string $expiry
|
||||||
* @property ?int $user_id
|
* @property int|null $userId
|
||||||
* @property string|array|null $scopes
|
* @property string|array $scopes
|
||||||
* @property int $client_id
|
* @property int $clientId
|
||||||
* @property int $revoked
|
* @property bool|int $revoked
|
||||||
*
|
*
|
||||||
* @since version
|
* @since version
|
||||||
*/
|
*/
|
||||||
@ -48,5 +48,8 @@ class AccessTokenTable extends Table implements RevokedTableInterface
|
|||||||
public function __construct(DatabaseDriver $db)
|
public function __construct(DatabaseDriver $db)
|
||||||
{
|
{
|
||||||
parent::__construct('#__webmasterskaya_oauthserver_access_tokens', 'id', $db);
|
parent::__construct('#__webmasterskaya_oauthserver_access_tokens', 'id', $db);
|
||||||
|
|
||||||
|
$this->setColumnAlias('client_id', 'clientId');
|
||||||
|
$this->setColumnAlias('user_id', 'userId');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user