public function UsersJwtKeyRepositoryInterface::getKey in JSON Web Token Authentication (JWT) 8
Get a user key by key ID.
Parameters
string $id: The unique ID of the key.
Return value
\Drupal\users_jwt\UsersKey|null Key data object, or NULL if no matching key was found.
1 method overrides UsersJwtKeyRepositoryInterface::getKey()
- UsersJwtKeyRepository::getKey in modules/
users_jwt/ src/ UsersJwtKeyRepository.php - Get a user key by key ID.
File
- modules/
users_jwt/ src/ UsersJwtKeyRepositoryInterface.php, line 22
Class
- UsersJwtKeyRepositoryInterface
- Interface UsersJwtKeyRepositoryInterface
Namespace
Drupal\users_jwtCode
public function getKey($id) : ?UsersKey;