src/includes/classes/Core/OAuth/Server/Repositories/AccessTokenRepository.php
public function getNewToken(ClientEntityInterface $ClientEntity, array $scopes, $user_identifier = null)
    {
        return $this->App->Di->get(AccessTokenEntity::class);
    }
public function getNewToken(ClientEntityInterface $ClientEntity, array $scopes, $user_identifier = null)
    {
        return $this->App->Di->get(AccessTokenEntity::class);
    }
New access token entity.

@param ClientEntityInterface $ClientEntity    Client entity.
@param array                 $scopes          Scope entities.
@param mixed                 $user_identifier User identifier.

@return AccessTokenEntity Access token entity.