You are here

public function TokenAuthUser::setSyncing in Simple OAuth (OAuth2) & OpenID Connect 8.3

Same name and namespace in other branches
  1. 8.4 src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::setSyncing()
  2. 5.x src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::setSyncing()

Sets the status of the synchronization flag.

Parameters

bool $status: The status of the synchronization flag.

Return value

$this

Overrides SynchronizableInterface::setSyncing

File

src/Authentication/TokenAuthUser.php, line 930

Class

TokenAuthUser
The decorated user class with token information.

Namespace

Drupal\simple_oauth\Authentication

Code

public function setSyncing($status) {
  $this->subject
    ->setSyncing($status);
  return $this;
}