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\Account\EmailToken;
interface EmailTokenRepository{ /** * @throws EmailTokenNotFoundException */ public function findByPurposeAndDid(string $purpose, string $did): EmailToken;
/** * @throws EmailTokenNotFoundException */ public function findByPurposeAndToken(string $purpose, string $token): EmailToken;
public function save(EmailToken $token): void;
public function deleteByPurposeAndDid(string $purpose, string $did): void;}