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 lti_tool_provider.module \LTI_TOOL_PROVIDER_NONCE_INTERVAL

Length of time to accept and store nonces.

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

./lti_tool_provider.module, line 11
LTI Tool Provider hook implementations and support functions.

Code

const LTI_TOOL_PROVIDER_NONCE_INTERVAL = 5 * 60;