the browser-facing portion of osu!
at master 544 B view raw
1<?php 2 3// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0. 4// See the LICENCE file in the repository root for full licence text. 5 6declare(strict_types=1); 7 8namespace App\Interfaces; 9 10interface SessionVerificationInterface 11{ 12 public static function findForVerification(string $id): ?static; 13 14 public function getKey(); 15 public function getKeyForEvent(): string; 16 public function isVerified(): bool; 17 public function markVerified(): void; 18 public function userId(): ?int; 19}