text: var jwt = require('jsonwebtoken');
  
  
  function createGovukNotifyToken(request_method, request_path, secret, client_id) {
  
    return jwt.sign(
      {
        iss: client_id,
        iat: Math.round(Date.now() / 1000)
      },
      secret,
      {
        header: {typ: "JWT", alg: "HS256"}
      }
    );
  }
  
  module.exports = createGovukNotifyToken;
  