| 1 | <?php |
||
| 10 | class MockAccessTokenStorage extends MockStorage implements AccessTokenInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @inheritdoc |
||
| 14 | */ |
||
| 15 | public function get($token) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @inheritdoc |
||
| 27 | */ |
||
| 28 | public function getScopes(AccessTokenEntity $token) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @inheritdoc |
||
| 35 | */ |
||
| 36 | public function create($token, $expireTime, $sessionId) |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @inheritdoc |
||
| 42 | */ |
||
| 43 | public function associateScope(AccessTokenEntity $token, ScopeEntity $scope) |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @inheritdoc |
||
| 50 | */ |
||
| 51 | public function delete(AccessTokenEntity $token) |
||
| 54 | } |
||
| 55 |