You are here

private function OauthTokenFileStorageTest::tokenFileUri in Apigee Edge 8

Returns the URI of the token file.

Return value

string URI of the token file.

3 calls to OauthTokenFileStorageTest::tokenFileUri()
OauthTokenFileStorageTest::testSaveToken in tests/src/Kernel/OauthTokenFileStorageTest.php
Test that saving a token produces the expected file data.
OauthTokenFileStorageTest::testStaticCaching in tests/src/Kernel/OauthTokenFileStorageTest.php
Test the token storage is using static cache.
OauthTokenFileStorageTest::testTokenFileRemovalOnUninstall in tests/src/Kernel/OauthTokenFileStorageTest.php
Tests OAuth token data file removal on module uninstall.

File

tests/src/Kernel/OauthTokenFileStorageTest.php, line 115

Class

OauthTokenFileStorageTest
OAuth cache storage tests.

Namespace

Drupal\Tests\apigee_edge\Kernel

Code

private function tokenFileUri() : string {
  return $this
    ->tokenDirectoryUri() . '/oauth.dat';
}