public function Client::id in OAuth2 Server 2.0.x
Same name and namespace in other branches
- 8 src/Entity/Client.php \Drupal\oauth2_server\Entity\Client::id()
Gets the identifier.
Return value
string|int|null The entity identifier, or NULL if the object does not yet have an identifier.
Overrides EntityBase::id
File
- src/
Entity/ Client.php, line 118
Class
- Client
- Defines the OAuth2 client entity.
Namespace
Drupal\oauth2_server\EntityCode
public function id() {
return isset($this->client_id) ? $this->client_id : NULL;
}