private function OauthTokenFileStorage::isPrivateFileSystemConfigured in Apigee Edge 8
Checks whether the private filesystem is configured.
Return value
bool True if configured, FALSE otherwise.
3 calls to OauthTokenFileStorage::isPrivateFileSystemConfigured()
- OauthTokenFileStorage::checkRequirements in src/
OauthTokenFileStorage.php - Checks requirements of the token storage.
- OauthTokenFileStorage::removeToken in src/
OauthTokenFileStorage.php - OauthTokenFileStorage::removeTokenFile in src/
OauthTokenFileStorage.php - Removes the file in which the OAuth token data is stored.
File
- src/
OauthTokenFileStorage.php, line 288
Class
- OauthTokenFileStorage
- Stores OAuth token data in a file.
Namespace
Drupal\apigee_edgeCode
private function isPrivateFileSystemConfigured() : bool {
return (bool) $this->fileSystem
->realpath('private://');
}