30 lines
543 B
PHP
30 lines
543 B
PHP
<?php
|
|
/**
|
|
* @author Steve Rhoades <sedonami@gmail.com>
|
|
* @license http://opensource.org/licenses/MIT MIT
|
|
*/
|
|
namespace OpenIDConnectServer\Entities;
|
|
|
|
class ClaimSetEntity implements ClaimSetEntityInterface
|
|
{
|
|
protected $scope;
|
|
|
|
protected $claims;
|
|
|
|
public function __construct($scope, array $claims)
|
|
{
|
|
$this->scope = $scope;
|
|
$this->claims = $claims;
|
|
}
|
|
|
|
public function getScope()
|
|
{
|
|
return $this->scope;
|
|
}
|
|
|
|
public function getClaims()
|
|
{
|
|
return $this->claims;
|
|
}
|
|
}
|