You are here

public function AccessToken::getCreatedTime in Simple OAuth (OAuth2) & OpenID Connect 8

1 call to AccessToken::getCreatedTime()
AccessToken::addRefreshToken in src/Entity/AccessToken.php
Adds a refresh token and links it to this entity.

File

src/Entity/AccessToken.php, line 238

Class

AccessToken
Defines the Access Token entity.

Namespace

Drupal\simple_oauth\Entity

Code

public function getCreatedTime() {
  return $this
    ->get('created')->value;
}