src/Build.php
public function setPayloadClaim(string $key, $value): self
    {
        $this->payload[$key] = $value;

        return $this;
    }
public function setPayloadClaim(string $key, $value): self
    {
        $this->payload[$key] = $value;

        return $this;
    }
public function setPayloadClaim ( string $ key , $ value ) : self { $ this -> payload [ $ key ] = $ value ; return $ this ; }
Set a custom payload claim on the JWT. The RFC calls these private
claims. Eg you may wish to set a user_id or a username in the
JWT payload.

@param string $key
@param mixed $value
@return Build
Set a custom payload claim on the JWT . The RFC calls these private claims . Eg you may wish to set a user_id or a username in the JWT payload .