Safe sessions are used as a secure way to authenticate users and sign data you want to pass to SideDish
@sidedish/core
package with its createSession
function.
id
of the safe sessionexpiresAt
of the session in ISO stringuserId
are optional.
internal
property in the user object, it will disable tracking and analytics for the user.id
for the logged in user’s account. This is especially useful if your app is a B2B and you want to support account level features.id
strings or Objects that include id
and data
for the installationPurchase
Type:userId
isn’t possible and you should just create a new session.