private function OauthTokenFileStorage::isTokenFileInPrivateFileSystem in Apigee Edge 8
Checks whether the token file's location in the private filesystem.
Return value
bool True if the token file's location is in the private filesystem, false otherwise.
3 calls to OauthTokenFileStorage::isTokenFileInPrivateFileSystem()
- 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 278
Class
- OauthTokenFileStorage
- Stores OAuth token data in a file.
Namespace
Drupal\apigee_edgeCode
private function isTokenFileInPrivateFileSystem() : bool {
return strpos($this->tokenFilePath, 'private://') === 0;
}