Viewing File: /opt/alt/tests/alt-php81-pecl-oauth_2.0.7-2.el8/tests/oauthprovider_005.phpt

--TEST--
OauthProvider timestampNonceHandler/callTimestampNonceHandler
--FILE--
<?php
require 'oauth.inc';

function timestampNonceHandler($provider) {
	echo 'timestampNonceHandler called' . PHP_EOL;
}

try {
	$provider = new OAuthProvider(creationParams());
	$provider->timestampNonceHandler('timestampNonceHandler');
	$provider->callTimestampNonceHandler();
} catch (OAuthException $E) {
	echo OAuthProvider::reportProblem($E);
}

--EXPECT--
timestampNonceHandler called
Back to Directory File Manager
<