protected function PrivateFileKeyProvider::getFileUri in Apigee Edge 8
Gets the URI of the file that contains the key value.
Parameters
\Drupal\key\KeyInterface $key: The key entity.
Return value
string The file URI.
3 calls to PrivateFileKeyProvider::getFileUri()
- PrivateFileKeyProvider::deleteKeyValue in src/
Plugin/ KeyProvider/ PrivateFileKeyProvider.php - Deletes the value of a key.
- PrivateFileKeyProvider::realGetKeyValue in src/
Plugin/ KeyProvider/ PrivateFileKeyProvider.php - The method that returns a key's value after pre-requirements got validated.
- PrivateFileKeyProvider::setKeyValue in src/
Plugin/ KeyProvider/ PrivateFileKeyProvider.php - Sets the value of a key.
File
- src/
Plugin/ KeyProvider/ PrivateFileKeyProvider.php, line 196
Class
- PrivateFileKeyProvider
- Stores Apigee Edge authentication credentials in a private file.
Namespace
Drupal\apigee_edge\Plugin\KeyProviderCode
protected function getFileUri(KeyInterface $key) : string {
return "private://.apigee_edge/{$key->id()}.json";
}