1 var token = jwt.sign({email_id:'123@gmail.com'}, "Stack", {
2 expiresIn: "10h" // it will be expired after 10 hours
3 //expiresIn: "20d" // it will be expired after 20 days
4 //expiresIn: 120 // it will be expired after 120ms
5 //expiresIn: "120s" // it will be expired after 120s
6 });
7