public function TokenAuthUser::isAnonymous in Simple OAuth (OAuth2) & OpenID Connect 8.2
Same name and namespace in other branches
- 8.4 src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::isAnonymous()
- 8 src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::isAnonymous()
- 8.3 src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::isAnonymous()
- 5.x src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::isAnonymous()
Returns TRUE if the account is anonymous.
Return value
bool TRUE if the account is anonymous.
Overrides AccountInterface::isAnonymous
File
- src/
Authentication/ TokenAuthUser.php, line 102
Class
- TokenAuthUser
- @internal
Namespace
Drupal\simple_oauth\AuthenticationCode
public function isAnonymous() {
return $this->subject
->isAnonymous();
}