| 123456789101112 |
- <?php
- declare(strict_types=1);
- namespace app\miniapi\auth;
- /** External login adapters return verified provider identity, never client-supplied user IDs. */
- interface IdentityProvider
- {
- /** @return array{appid: string, openid: string} */
- public function exchange(string $code): array;
- }
|