1
0
Files
breadcrumb-the-shire/lib/Repository/User/UserExternalIdentityRepositoryInterface.php

14 lines
435 B
PHP
Raw Normal View History

2026-03-05 08:26:51 +01:00
<?php
namespace MintyPHP\Repository\User;
/** 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;
}