| 1 | <?php |
||
| 12 | class PlainVerifier implements CodeChallengeVerifierInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Return code challenge method. |
||
| 16 | * |
||
| 17 | * @return string |
||
| 18 | */ |
||
| 19 | public function getMethod() |
||
| 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) |
||
| 36 | } |
||
| 37 |