Creates a new signed and encrypted UserJwtData when a client (frontend) successfully
authenticates with the host (backend). This is used by host (backend) code to establish a new
user session. The output of this function should be sent to the client (frontend) for storage.
Creates a new signed and encrypted UserJwtData when a client (frontend) successfully authenticates with the host (backend). This is used by host (backend) code to establish a new user session. The output of this function should be sent to the client (frontend) for storage.