public function UsersJwtKeyRepository::getUsersKeys in JSON Web Token Authentication (JWT) 8
Return all keys for one user.
Parameters
int $uid: The user ID.
Return value
array The key objects, indexed by key ID.
Overrides UsersJwtKeyRepositoryInterface::getUsersKeys
File
- modules/
users_jwt/ src/ UsersJwtKeyRepository.php, line 129
Class
- UsersJwtKeyRepository
- Class UsersJwtKeyRepository
Namespace
Drupal\users_jwtCode
public function getUsersKeys($uid) : array {
return $this->userData
->get('users_jwt', $uid);
}