encoded = jwt.encode(data, 'secret', algorithm='HS256') print(encoded.decode()) # eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.
確定! 回上一頁