---
title: "AuthState"
source: "https://github.com/remix-run/remix/blob/8905f3943706e1f53696ab83e70a84873cabfc90/packages/auth-middleware/src/lib/auth.ts#L42"
---

# AuthState

## Summary

Request auth state stored in the router context.

## Signature

```ts
type AuthState<identity> = GoodAuth<identity> | BadAuth

```