| 1 |
<?php |
| 2 |
|
| 3 |
// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure. |
| 4 |
|
| 5 |
namespace Yoast\WP\SEO\AI\Authentication\Domain; |
| 6 |
|
| 7 |
/** |
| 8 |
* Constants identifying the auth strategy in use for a given AI request. |
| 9 |
* |
| 10 |
* Used by the wpseo_ai_auth_method filter to pin a specific strategy during QA / staged rollout. |
| 11 |
*/ |
| 12 |
final class Auth_Method { |
| 13 |
|
| 14 |
public const OAUTH = 'oauth'; |
| 15 |
public const TOKEN = 'token'; |
| 16 |
} |
| 17 |
|