2026-03-05 08:26:51 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace MintyPHP\Repository\User;
|
|
|
|
|
|
2026-03-13 21:58:51 +01:00
|
|
|
/** Contract for linking external identity provider accounts (OIDC) to users. */
|
2026-03-05 08:26:51 +01:00
|
|
|
interface UserExternalIdentityRepositoryInterface
|
|
|
|
|
{
|
|
|
|
|
public function findByProviderTidOid(string $provider, string $tid, string $oid): ?array;
|
|
|
|
|
|
|
|
|
|
public function findByProviderIssuerSubject(string $provider, string $issuer, string $subject): ?array;
|
|
|
|
|
|
|
|
|
|
public function createLink(array $data): mixed;
|
|
|
|
|
}
|