| 1 | <?php |
||
| 13 | class TokenMemoryCacheStorage implements TokenStorageInterface |
||
| 14 | { |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var \zaporylie\Vipps\Model\Authorization\ResponseGetToken |
||
| 18 | */ |
||
| 19 | protected $token; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * {@inheritdoc} |
||
| 23 | */ |
||
| 24 | public function get() |
||
| 31 | |||
| 32 | /** |
||
| 33 | * {@inheritdoc} |
||
| 34 | */ |
||
| 35 | public function set(ResponseGetToken $token) |
||
| 40 | |||
| 41 | /** |
||
| 42 | * {@inheritdoc} |
||
| 43 | */ |
||
| 44 | public function has() |
||
| 57 | |||
| 58 | /** |
||
| 59 | * {@inheritdoc} |
||
| 60 | */ |
||
| 61 | public function delete() |
||
| 66 | |||
| 67 | /** |
||
| 68 | * {@inheritdoc} |
||
| 69 | */ |
||
| 70 | public function clear() |
||
| 75 | } |
||
| 76 |