Skip to content

Variable: authLogoutResultSchema

const authLogoutResultSchema: ZodObject<{ ok: ZodBoolean; redirectTo: ZodString; }, $strip>

Logout outcome plus the validated same-origin destination.

  • ok: True when the session cookie was cleared.
  • redirectTo: Validated same-origin destination after logout.