/** * @swagger * components: * schemas: * Identity: * description: Contains information about an identity. * type: object * required: * - token * - userId * properties: * token: * description: The ID of the user to which this identiy belongs. * type: string * userId: * description: The ID of the auth token's owner. * type: string */ /** * Contains information about an identity. */ export type Identity = { /** * The ID of the user to which this identiy belongs. */ token: string; /** * The ID of the auth token's owner. */ userId: string; /** * Optional: The ID of an anonymous session. * Should be set, when the auth token belongs to an anonymous user. * @deprecated As of v18, Anonymous Sessions are no longer handled by the Engine, but by the authority. */ anonymousSessionId?: string; };