You are here

public function Gauth::getAccessToken in Google Auth 8

File

src/Entity/Gauth.php, line 180

Class

Gauth
Defines the Gauth entity.

Namespace

Drupal\gauth\Entity

Code

public function getAccessToken() {
  return $this
    ->get('access_token')->value;
}