public function OauthTokenFileStorage::getExpires in Apigee Edge 8
1 call to OauthTokenFileStorage::getExpires()
File
- src/
OauthTokenFileStorage.php, line 135
Class
- OauthTokenFileStorage
- Stores OAuth token data in a file.
Namespace
Drupal\apigee_edgeCode
public function getExpires() : int {
$token_data = $this
->getTokenData();
return $token_data['expires'] ?? time() - 1;
}