---
title: readSignIn
description: >-
  The account behind `request`, or `null` and why: signed out, no accounts
  database bound, or the account suspended, with the suspension's reason and
  end. `env` is the handler's `context.env`. A cookie from before accounts
  becomes an account and a session on its first read here.
updated_at: '2026-11-19T12:10:41+01:00'
created_at: '2026-11-19T02:32:38+01:00'
symbol:
  kind: function
  name: readSignIn
  signatures:
    - >-
      readSignIn(request: Request, env: Env$3):
      Promise<[[reference/api/auth/server/SignIn|SignIn]]>
  parameters:
    - name: request
      type: Request
    - name: env
      type: Env$3
  returns:
    type: 'Promise<[[reference/api/auth/server/SignIn|SignIn]]>'
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/auth/src/session.ts#L162
---

# readSignIn
