public function payload($path = null, $secret = null, $algo = null)
    {
        $token = $this->token();
        $secret = $secret ?: $this->secret();
        $algo = $algo ?: $this->algorithm();

        $payload = $this->jwt->decodeToken($token, $secret, $algo);

        return $this->queryPayload($payload, $path);
    }
public function payload($path = null, $secret = null, $algo = null)
    {
        $token = $this->token();
        $secret = $secret ?: $this->secret();
        $algo = $algo ?: $this->algorithm();

        $payload = $this->jwt->decodeToken($token, $secret, $algo);

        return $this->queryPayload($payload, $path);
    }
public function payload ( $ path = null , $ secret = null , $ algo = null ) { $ token = $ this -> token ( ) ; $ secret = $ secret ? : $ this -> secret ( ) ; $ algo = $ algo ? : $ this -> algorithm ( ) ; $ payload = $ this -> jwt -> decodeToken ( $ token , $ secret , $ algo ) ; return $ this -> queryPayload ( $ payload , $ path ) ; }
Get the payload from the current token

@param string|null $path    dot syntax to query for specific data
@param string|null $secret
@param string|null $algo

@return array
Get the payload from the current token