src/ArrayContainsComparator/Matcher/JWT.php
public function addToken($name, array $payload, $secret) {
        $this->jwtTokens[$name] = [
            'payload' => $payload,
            'secret' => $secret,
        ];

        return $this;
    }
public function addToken($name, array $payload, $secret) {
        $this->jwtTokens[$name] = [
            'payload' => $payload,
            'secret' => $secret,
        ];

        return $this;
    }
public function addToken ( $ name , array $ payload , $ secret ) { $ this -> jwtTokens [ $ name ] = [ 'payload' => $ payload , 'secret' => $ secret , ] ; return $ this ; }
Add a JWT token that can be matched

@param string $name String identifying the token
@param array $payload The payload
@param string $secret The secret used to sign the token
@return self
Add a JWT token that can be matched