Jose\Object\JWT::getClaims PHP Method

getClaims() public method

public getClaims ( )
    public function getClaims()
    {
        if (is_array($this->payload)) {
            return $this->payload;
        }
        throw new \InvalidArgumentException('The payload does not contain claims.');
    }