The max duration of this cookie. Or, in other words, the max user session duration before they're logged out.
Optional
cookieName?: stringThe origin of the host (backend) service that cookies will be included in all requests to. This should be restricted to just your host (backend) origin for security purposes.
All JWT parameters required for generating the encrypted JWT that will be embedded in the Cookie. Note that all JWT keys contained herein should never shared with any frontend, client, etc.
Parameters for generateAuthCookie.