# wordpress-seo/28.6/src/ai/authentication/domain/exceptions/auth-strategy-unavailable-exception.php

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

- Page: https://pluginprobe.com/plugins/wordpress-seo/28.6/code/src/ai/authentication/domain/exceptions/auth-strategy-unavailable-exception.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/28.6/raw/src/ai/authentication/domain/exceptions/auth-strategy-unavailable-exception.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/28.6/code/src/ai/authentication/domain/exceptions/auth-strategy-unavailable-exception.php#L10-L20`.

```php
<?php

// phpcs:disable Yoast.NamingConventions.NamespaceName.MaxExceeded

// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure.
namespace Yoast\WP\SEO\AI\Authentication\Domain\Exceptions;

use Yoast\WP\SEO\AI\HTTP_Request\Domain\Exceptions\Remote_Request_Exception;

/**
 * Thrown when an auth strategy cannot satisfy its preconditions to dispatch a request — for example
 * when the site token cannot be acquired. Distinct from the HTTP-response exception family because
 * no request was made; extends Remote_Request_Exception so AI_Request_Sender treats it as a
 * fallback-eligible failure rather than an OAuth-specific sentinel.
 */
class Auth_Strategy_Unavailable_Exception extends Remote_Request_Exception {

}

```
