public function TokenAuthUser::getCacheMaxAge in Simple OAuth (OAuth2) & OpenID Connect 8
Same name and namespace in other branches
- 8.4 src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::getCacheMaxAge()
- 8.2 src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::getCacheMaxAge()
- 8.3 src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::getCacheMaxAge()
- 5.x src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::getCacheMaxAge()
The maximum age for which this object may be cached.
Return value
int The maximum time in seconds that this object may be cached.
Overrides CacheableDependencyInterface::getCacheMaxAge
File
- src/
Authentication/ TokenAuthUser.php, line 164
Class
- TokenAuthUser
- Class TokenAuthUser.
Namespace
Drupal\simple_oauth\AuthenticationCode
public function getCacheMaxAge() {
return $this->subject
->getCacheMaxAge();
}