public function UserEntityWithClaims::setClaims in Simple OAuth (OAuth2) & OpenID Connect 5.x
Sets the claims.
Parameters
array $claims: List of claims.
File
- src/
Entities/ UserEntityWithClaims.php, line 36
Class
- UserEntityWithClaims
- A user entity with claims.
Namespace
Drupal\simple_oauth\EntitiesCode
public function setClaims(array $claims) {
$this->claims = $claims;
}