| Conditions | 2 |
| Paths | 2 |
| Total Lines | 6 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 52 | public function getAccessByRefreshToken(string $refreshAccessToken) : string |
||
| 53 | { |
||
| 54 | if( $this->session->refreshAccessToken($refreshAccessToken) !== true ) { |
||
| 55 | throw new \RuntimeException(Message::ERROR_GET_REFRESH_TOKEN_BY_CODE); |
||
| 56 | } |
||
| 57 | return $this->session->getAccessToken(); |
||
| 58 | } |
||
| 61 | } |