You are here

public function ScopeEntity::jsonSerialize in Simple OAuth (OAuth2) & OpenID Connect 8.3

Same name and namespace in other branches
  1. 8.4 src/Entities/ScopeEntity.php \Drupal\simple_oauth\Entities\ScopeEntity::jsonSerialize()
  2. 8.2 src/Entities/ScopeEntity.php \Drupal\simple_oauth\Entities\ScopeEntity::jsonSerialize()
  3. 5.x src/Entities/ScopeEntity.php \Drupal\simple_oauth\Entities\ScopeEntity::jsonSerialize()

File

src/Entities/ScopeEntity.php, line 36

Class

ScopeEntity

Namespace

Drupal\simple_oauth\Entities

Code

public function jsonSerialize() {
  return $this
    ->getIdentifier();
}