public function TokenAuthUser::getLastAccessedTime in Simple OAuth (OAuth2) & OpenID Connect 8.3
Same name and namespace in other branches
- 8.4 src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::getLastAccessedTime()
- 8 src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::getLastAccessedTime()
- 8.2 src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::getLastAccessedTime()
- 5.x src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::getLastAccessedTime()
The timestamp when the account last accessed the site.
A value of 0 means the user has never accessed the site.
Return value
int Timestamp of the last access.
Overrides AccountInterface::getLastAccessedTime
File
- src/
Authentication/ TokenAuthUser.php, line 188
Class
- TokenAuthUser
- The decorated user class with token information.
Namespace
Drupal\simple_oauth\AuthenticationCode
public function getLastAccessedTime() {
return $this->subject
->getLastAccessedTime();
}