Migration to last.fm, removed old spotify api client. FOSRestBundle API serving data driven front end (JWT).

This commit is contained in:
boris committed 2026-02-27 16:52:57 +00:00
1 parent 391ecf1732
commit 56dea097d6
51 files changed
+1749 -844

No files matched your search

+26 -1
View File
@@ -46,6 +46,12 @@ class User implements UserInterface, PasswordAuthenticatedUserInterface
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private ?string $profileImagePath = null;
#[ORM\Column(type: 'string', length: 50, nullable: true)]
private ?string $oauthProvider = null;
#[ORM\Column(type: 'string', length: 190, nullable: true)]
private ?string $oauthId = null;
/**
* Returns the database identifier.
*/
@@ -164,6 +170,25 @@ class User implements UserInterface, PasswordAuthenticatedUserInterface
{
$this->profileImagePath = $profileImagePath;
}
public function getOauthProvider(): ?string
{
return $this->oauthProvider;
}
public function setOauthProvider(?string $oauthProvider): void
{
$this->oauthProvider = $oauthProvider === null ? null : strtolower(trim($oauthProvider));
}
public function getOauthId(): ?string
{
return $this->oauthId;
}
public function setOauthId(?string $oauthId): void
{
$this->oauthId = $oauthId === null ? null : trim($oauthId);
}
}