Generate the token. 16. const token = jwt.sign(payload, secretKey);. 17. . 18. // The token is ready to send to the client. REST API example:.
確定! 回上一頁