# wordpress-seo/27.5/src/ai/generator/domain/urls-interface.php

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

- Page: https://pluginprobe.com/plugins/wordpress-seo/27.5/code/src/ai/generator/domain/urls-interface.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/27.5/raw/src/ai/generator/domain/urls-interface.php
- Modified: 2026-03-17T12:01:04+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/27.5/code/src/ai/generator/domain/urls-interface.php#L10-L20`.

```php
<?php

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

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

/**
 * Helper class to get the URLs needed for the AI Generator API.
 */
interface URLs_Interface {

	/**
	 * Gets the licence URL.
	 *
	 * @return string The license URL.
	 */
	public function get_license_url(): string;

	/**
	 * Gets the callback URL to be used by the API to send back the access token, refresh token and code challenge.
	 *
	 * @return string The callback URL.
	 */
	public function get_callback_url(): string;

	/**
	 * Gets the callback URL to be used by the API to send back the refreshed JWTs once they expire.
	 *
	 * @return string The refresh callback URL.
	 */
	public function get_refresh_callback_url(): string;
}

```
