You are here

public function InstagramAccountInterface::tokenIsValid in Instagram Feeds 8

Checks if Instagram access token exists and hasn't expired.

Return value

bool TRUE if token is set and has not been expired, FALSE otherwise.

1 method overrides InstagramAccountInterface::tokenIsValid()
InstagramAccount::tokenIsValid in src/Entity/InstagramAccount.php
Checks if Instagram access token exists and hasn't expired.

File

src/Entity/InstagramAccountInterface.php, line 65

Class

InstagramAccountInterface
InstagramAccount Interface.

Namespace

Drupal\instagram_feeds\Entity

Code

public function tokenIsValid() : bool;