---
title: AuthSchemeSuccess
source: https://github.com/remix-run/remix/blob/remix@3.0.0-beta.2/packages/auth-middleware/src/lib/auth.ts#L53
---

# AuthSchemeSuccess

## Summary

Successful result returned by an auth scheme.

## Signature

```ts
interface AuthSchemeSuccess<identity> {
  identity: identity;
  status: "success";
}

```

## Properties

### `identity`

Application-defined identity resolved by the scheme.

### `status`

Marks the scheme result as a successful authentication.