for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author Alex Bilbie <[email protected]>
* @copyright Copyright (c) Alex Bilbie
* @license http://mit-license.org/
*
* @link https://github.com/thephpleague/oauth2-server
*/
namespace League\OAuth2\Server\Entities\Traits;
use League\OAuth2\Server\Entities\ClientEntityInterface;
use League\OAuth2\Server\Entities\ScopeEntityInterface;
trait AccessTokenTrait
{
* @return ClientEntityInterface
abstract public function getClient();
* @return \DateTime
abstract public function getExpiryDateTime();
* @return string|int
abstract public function getUserIdentifier();
* @return ScopeEntityInterface[]
abstract public function getScopes();
}