You are here

public function AccessTokenResource::lock in Simple OAuth (OAuth2) & OpenID Connect 8

Locks the entity.

Overrides AccessTokenResourceInterface::lock

File

src/Entity/AccessTokenResource.php, line 92

Class

AccessTokenResource
Defines the Access Token Resource entity.

Namespace

Drupal\simple_oauth\Entity

Code

public function lock() {
  $this->locked = TRUE;
}