| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class S256Verifier implements CodeChallengeVerifierInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Return code challenge method. |
||
| 16 | * |
||
| 17 | * @return string |
||
| 18 | */ |
||
| 19 | public function getMethod() |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Verify the code challenge. |
||
| 26 | * |
||
| 27 | * @param string $codeVerifier |
||
| 28 | * @param string $codeChallenge |
||
| 29 | * |
||
| 30 | * @return bool |
||
| 31 | */ |
||
| 32 | public function verifyCodeChallenge($codeVerifier, $codeChallenge) |
||
| 40 |