| 1 | <?php |
||
| 12 | class ApiKeyHelper |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Get the API key using a username and password combination. |
||
| 16 | * |
||
| 17 | * @param string $username The username. |
||
| 18 | * @param string $password The password. |
||
| 19 | * @return string |
||
| 20 | */ |
||
| 21 | public static function getApiKey($username, $password) |
||
| 42 | |||
| 43 | public static function apiKeyIsValid($apiKey) |
||
| 59 | } |
||
| 60 |