Updated AuthenticateAction to generate and return a JWT

This commit is contained in:
Alejandro Celaya
2016-08-07 19:13:40 +02:00
parent a60080b1ce
commit 9573e9f4ef
6 changed files with 63 additions and 18 deletions

View File

@@ -36,4 +36,12 @@ interface ApiKeyServiceInterface
* @return ApiKey[]
*/
public function listKeys($enabledOnly = false);
/**
* Tries to find one API key by its key string
*
* @param string $key
* @return ApiKey|null
*/
public function getByKey($key);
}