public function KeyAuthInterface::access in Key auth 8
Determine if a user has access to use key authentication.
Parameters
\Drupal\user\UserInterface $user: The user being authenticated.
Return value
bool TRUE if the user has access, otherwise FALSE.
1 method overrides KeyAuthInterface::access()
- KeyAuth::access in src/
KeyAuth.php - Determine if a user has access to use key authentication.
File
- src/
KeyAuthInterface.php, line 44
Class
- KeyAuthInterface
- Interface KeyAuthInterface.
Namespace
Drupal\key_authCode
public function access(UserInterface $user);