<?php
namespace App\Security\Authentication\Token;
use Symfony\Component\Security\Core\Authentication\Token\AbstractToken;
class OAuthToken extends AbstractToken
{
protected string $token;
public function setToken($token): void
{
$this->token = $token;
}
public function getToken(): string
{
return $this->token;
}
public function getCredentials()
{
return $this->token;
}
}