Yoast\WP\SEO\MyYoast_Client\Infrastructure\DPoP

DPoP_Handler::get_stored_noncepublicYoast 1.0

Returns the stored DPoP nonce.

Метод класса: DPoP_Handler{}

Хуков нет.

Возвращает

Строку|null. The stored nonce, or null if none exists.

Использование

$DPoP_Handler = new DPoP_Handler();
$DPoP_Handler->get_stored_nonce(): ?string;

Код DPoP_Handler::get_stored_nonce() Yoast 27.8

public function get_stored_nonce(): ?string {
	$nonce = \get_transient( $this->get_nonce_transient_key() );
	if ( \is_string( $nonce ) && $nonce !== '' ) {
		return $nonce;
	}

	return null;
}