You are here

public function Gauth::setAccessToken in Google Auth 8

1 call to Gauth::setAccessToken()
Gauth::save in src/Entity/Gauth.php

File

src/Entity/Gauth.php, line 250

Class

Gauth
Defines the Gauth entity.

Namespace

Drupal\gauth\Entity

Code

public function setAccessToken($token) {
  return $this
    ->set('access_token', $token);
}