concrete/src/Entity/OAuth/AccessTokenRepository.php
public function persistNewAccessToken(AccessTokenEntityInterface $accessTokenEntity)
    {
        $this->getEntityManager()->transactional(function(EntityManagerInterface $em) use ($accessTokenEntity) {
            $em->persist($accessTokenEntity);
        });
    }
public function persistNewAccessToken(AccessTokenEntityInterface $accessTokenEntity)
    {
        $this->getEntityManager()->transactional(function(EntityManagerInterface $em) use ($accessTokenEntity) {
            $em->persist($accessTokenEntity);
        });
    }
public function persistNewAccessToken ( AccessTokenEntityInterface $ accessTokenEntity ) { $ this -> getEntityManager ( ) -> transactional ( function ( EntityManagerInterface $ em ) use ( $ accessTokenEntity ) { $ em -> persist ( $ accessTokenEntity ) ; } ) ; }
Persists a new access token to permanent storage.

@param AccessTokenEntityInterface $accessTokenEntity
@throws \Exception
Persists a new access token to permanent storage .