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

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

- Page: https://pluginprobe.com/plugins/wordpress-seo/28.0/code/src/ai-generator/domain/urls-interface.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/28.0/raw/src/ai-generator/domain/urls-interface.php
- Modified: 2025-07-15T13:36:10+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.0/code/src/ai-generator/domain/urls-interface.php#L10-L20`.

```php
<?php

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;
}

```
