Creates a signed JWT for the TOTP "remember this device" trust cookie.
User id to bind to the trust token.
Cookie lifetime in seconds.
Signed JWT with purpose: 'totp-trust'.
purpose: 'totp-trust'
Creates a signed JWT for the TOTP "remember this device" trust cookie.