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

# GoodAuth

## Summary

Auth state for a successfully authenticated request.

## Signature

```ts
interface GoodAuth<identity> {
  identity: identity
  method: string
  ok: true
}

```

## Properties

### `identity`

Application-defined identity resolved for the current request.

### `method`

Auth method that successfully authenticated the request.

### `ok`

Indicates that the current request is authenticated.