public function KeyAuthInterface::generateKey in Key auth 8
Generate a new unique key.
Return value
string An API key.
1 method overrides KeyAuthInterface::generateKey()
- KeyAuth::generateKey in src/
KeyAuth.php - Generate a new unique key.
File
- src/
KeyAuthInterface.php, line 52
Class
- KeyAuthInterface
- Interface KeyAuthInterface.
Namespace
Drupal\key_authCode
public function generateKey();