public function TokenAuthUser::setLastLoginTime 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::setLastLoginTime()
- 8 src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::setLastLoginTime()
- 8.3 src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::setLastLoginTime()
- 5.x src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::setLastLoginTime()
Sets the UNIX timestamp when the user last logged in.
Parameters
int $timestamp: Timestamp of the last login time.
Return value
$this The called user entity.
Overrides UserInterface::setLastLoginTime
File
- src/
Authentication/ TokenAuthUser.php, line 760
Class
- TokenAuthUser
- @internal
Namespace
Drupal\simple_oauth\AuthenticationCode
public function setLastLoginTime($timestamp) {
return $this->subject
->setLastLoginTime($timestamp);
}