Jose\Object\JWT::getClaim PHP 메소드

getClaim() 공개 메소드

public getClaim ( $key )
    public function getClaim($key)
    {
        if ($this->hasClaim($key)) {
            return $this->payload[$key];
        }
        throw new \InvalidArgumentException(sprintf('The payload does not contain claim "%s".', $key));
    }