📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: LiteSpeed
2026-06-28 21:14:58
📂
/ (Root)
/
home
/
apkbfjox
/
stargame.pk
/
wp-content
/
plugins
/
wordpress-seo
/
src
/
ai
/
authorization
/
infrastructure
📍 /home/apkbfjox/stargame.pk/wp-content/plugins/wordpress-seo/src/ai/authorization/infrastructure
🔄 Refresh
✏️
Editing: code-verifier-user-meta-repository-interface.php
Writable
<?php // phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure. namespace Yoast\WP\SEO\AI\Authorization\Infrastructure; use RuntimeException; use Yoast\WP\SEO\AI\Authorization\Domain\Code_Verifier; // phpcs:disable Yoast.NamingConventions.ObjectNameDepth.MaxExceeded /** * Interface for the Code Verifier User Meta Repository. * * This interface defines methods for managing code verifiers associated with users. */ interface Code_Verifier_User_Meta_Repository_Interface { /** * Get the verification code for a user. * * @param int $user_id The user ID. * * @throws RuntimeException If the code verifier is not found or has expired. * @return Code_Verifier The verification code or null if not found. */ public function get_code_verifier( int $user_id ): ?Code_Verifier; /** * Store the verification code for a user. * * @param int $user_id The user ID. * @param string $code The code verifier. * @param int $created_at The time the code was created. * * @return void */ public function store_code_verifier( int $user_id, string $code, int $created_at ): void; /** * Delete the verification code for a user. * * @param int $user_id The user ID. * * @return void */ public function delete_code_verifier( int $user_id ): void; } //phpcs:enable Yoast.NamingConventions.ObjectNameDepth.MaxExceeded
💾 Save Changes
❌ Cancel