protected function buildRefreshClaims(Payload $payload)
    {
        // assign the payload values as variables for use later
        extract($payload->toArray());

        // persist the relevant claims
        return array_merge(
            $this->customClaims,
            compact($this->persistentClaims, 'sub', 'iat')
        );
    }
protected function buildRefreshClaims(Payload $payload)
    {
        // assign the payload values as variables for use later
        extract($payload->toArray());

        // persist the relevant claims
        return array_merge(
            $this->customClaims,
            compact($this->persistentClaims, 'sub', 'iat')
        );
    }
protected function buildRefreshClaims ( Payload $ payload ) { // assign the payload values as variables for use later extract ( $ payload -> toArray ( ) ) ; // persist the relevant claims return array_merge ( $ this -> customClaims , compact ( $ this -> persistentClaims , 'sub' , 'iat' ) ) ; }
Build the claims to go into the refreshed token.

@param  \Tymon\JWTAuth\Payload  $payload

@return array
Build the claims to go into the refreshed token .