<?php

namespace sent\jwt\claim;

abstract class Claim {
	protected $name;

	private $value;

	public function __construct($value) {
		$this->setValue($value);
	}

	public function setValue($value) {
		$this->value = $value;

		return $this;
	}

	public function getValue() {
		return $this->value;
	}

	public function setName($name) {
		$this->name = $name;

		return $this;
	}

	public function getName() {
		return $this->name;
	}
}
