# wordpress-seo/trunk/src/ai/authentication/domain/auth-method.php

Yoast SEO – Advanced SEO with real-time guidance and built-in AI, version trunk. 17 lines.

- Page: https://pluginprobe.com/plugins/wordpress-seo/trunk/code/src/ai/authentication/domain/auth-method.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/trunk/raw/src/ai/authentication/domain/auth-method.php
- Modified: 2026-07-07T11:18:50+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wordpress-seo/trunk/code/src/ai/authentication/domain/auth-method.php#L10-L20`.

```php
<?php

// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure.

namespace Yoast\WP\SEO\AI\Authentication\Domain;

/**
 * Constants identifying the auth strategy in use for a given AI request.
 *
 * Used by the wpseo_ai_auth_method filter to pin a specific strategy during QA / staged rollout.
 */
final class Auth_Method {

	public const OAUTH = 'oauth';
	public const TOKEN = 'token';
}

```
