mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-06 15:23:12 +08:00
Added method to ApiKeyService to list api keys
This commit is contained in:
@@ -28,4 +28,12 @@ interface ApiKeyServiceInterface
|
||||
* @return ApiKey
|
||||
*/
|
||||
public function disable($key);
|
||||
|
||||
/**
|
||||
* Lists all existing appi keys
|
||||
*
|
||||
* @param bool $enabledOnly Tells if only enabled keys should be returned
|
||||
* @return ApiKey[]
|
||||
*/
|
||||
public function listKeys($enabledOnly = false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user