Something went wrong. Try again.
A barebones implementation of an atproto PDS in PHP and Slim Framework 4.
pds php atproto
Something went wrong. Try again.
1234567891011121314151617181920212223<?php
declare(strict_types=1);
namespace App\Domain\OAuth;
interface AccountDeviceRepository{ /** * @throws AccountDeviceNotFoundException */ public function findByDidAndDeviceId(string $did, string $deviceId): AccountDevice;
/** * @return AccountDevice[] */ public function findAllForDid(string $did): array;
public function save(AccountDevice $accountDevice): void;
public function deleteByDidAndDeviceId(string $did, string $deviceId): void;}