| 1 | <?php namespace nyx\auth; |
||
| 16 | abstract class Signer implements interfaces\Signer |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * The name/identifier of the hashing method this Signer uses. |
||
| 20 | */ |
||
| 21 | const METHOD = null; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * The name/identifier of the hashing algorithm this Signer uses. |
||
| 25 | */ |
||
| 26 | const ALGORITHM = null; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * {@inheritDoc} |
||
| 30 | */ |
||
| 31 | public function getMethod() : string |
||
| 35 | |||
| 36 | /** |
||
| 37 | * {@inheritDoc} |
||
| 38 | */ |
||
| 39 | public function getAlgorithm() : string |
||
| 43 | } |
||
| 44 |