You are here

constant LTI_TOOL_PROVIDER_NONCE_INTERVAL in LTI Tool Provider 2.x

Same name in this branch
  1. 2.x lti_tool_provider.module \LTI_TOOL_PROVIDER_NONCE_INTERVAL
  2. 2.x tests/src/Unit/LTIToolProviderTest.php \Drupal\Tests\lti_tool_provider\Unit\LTI_TOOL_PROVIDER_NONCE_INTERVAL
Same name and namespace in other branches
  1. 8 tests/src/Unit/LTIToolProviderTest.php \Drupal\Tests\lti_tool_provider\Unit\LTI_TOOL_PROVIDER_NONCE_INTERVAL
6 uses of LTI_TOOL_PROVIDER_NONCE_INTERVAL
LTIAuthTest::testOutdatedTimestamp in tests/src/Functional/LTIAuthTest.php
Test authentication with outdated timestamp.
LTIToolProvider::timestampNonceHandler in src/Authentication/Provider/LTIToolProvider.php
Validate nonce.
LTIToolProviderTest::testTimestampNonceHandlerAlmostTooNew in tests/src/Unit/LTIToolProviderTest.php
Tests a nonce timestamp that is almost too new.
LTIToolProviderTest::testTimestampNonceHandlerAlmostTooOld in tests/src/Unit/LTIToolProviderTest.php
Tests a nonce timestamp that is almost too old.
LTIToolProviderTest::testTimestampNonceHandlerOld in tests/src/Unit/LTIToolProviderTest.php
Tests a nonce timestamp that is too old.

... See full list

File

tests/src/Unit/LTIToolProviderTest.php, line 15

Namespace

Drupal\Tests\lti_tool_provider\Unit

Code

define("LTI_TOOL_PROVIDER_NONCE_INTERVAL", 5 * 60);