mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-08 08:13:11 +08:00
Updated AuthenticateAction to generate and return a JWT
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user