OAuth2 client credentials flow with cache
This commit is contained in:
17
CloudObjects/SDK/CustomCacheAndLogInterface.php
Normal file
17
CloudObjects/SDK/CustomCacheAndLogInterface.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
namespace CloudObjects\SDK;
|
||||
|
||||
interface CustomCacheAndLogInterface {
|
||||
|
||||
public function logInfoWithTime($message, $ts);
|
||||
|
||||
public function getFromCacheCustom($id);
|
||||
|
||||
public function putIntoCacheCustom($id, $data, $ttl);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user