Yoast\WP\SEO\MyYoast_Client\Domain
Registered_Client::with_validated_uris
Returns a copy of this client with its validated redirect URIs replaced.
Метод класса: Registered_Client{}
Хуков нет.
Возвращает
self.
Использование
$Registered_Client = new Registered_Client(); $Registered_Client->with_validated_uris( $validated_uris ): self;
- $validated_uris(string[]) (обязательный)
- The redirect URIs that have completed the auth-code flow.
Код Registered_Client::with_validated_uris() Registered Client::with validated uris Yoast 28.9
public function with_validated_uris( array $validated_uris ): self {
return new self(
$this->client_id,
$this->registration_access_token,
$this->registration_client_uri,
$this->metadata,
$validated_uris,
);
}