# app.protoimsg.chat.authVerify

> Published by [lexicons.protoimsg.app](https://lexicon.garden/identity/did:plc:xk3xpcauatfephlieonmluh4)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:xk3xpcauatfephlieonmluh4/app.protoimsg.chat.authVerify)
- [Documentation](https://lexicon.garden/lexicon/did:plc:xk3xpcauatfephlieonmluh4/app.protoimsg.chat.authVerify/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:xk3xpcauatfephlieonmluh4/app.protoimsg.chat.authVerify/examples)

## Definitions

### `app.protoimsg.chat.authVerify`

**Type**: `record`

Ephemeral challenge-response auth record. Client writes this to prove PDS write access during login, server verifies the nonce, then client deletes it immediately.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `nonce` | `string` | Yes | Server-issued challenge nonce to prove write access. |
| `createdAt` | `string` (datetime) | Yes | When this verification record was created. |

## Raw Schema

```json
{
  "id": "app.protoimsg.chat.authVerify",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "nonce",
          "createdAt"
        ],
        "properties": {
          "nonce": {
            "type": "string",
            "description": "Server-issued challenge nonce to prove write access."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "When this verification record was created."
          }
        }
      },
      "description": "Ephemeral challenge-response auth record. Client writes this to prove PDS write access during login, server verifies the nonce, then client deletes it immediately."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
