# Interface: CodeAsking

Defined in: [packages/core/src/session/connect-code.ts:46](https://github.com/leifriksheim/minca/blob/main/core/src/session/connect-code.ts#L46)

Who is asking, as the program said

## Properties

| Property | Modifier | Type | Description | Defined in |
| ------ | ------ | ------ | ------ | ------ |
| <a id="property-did"></a> `did` | `readonly` | `string` | The program's key: the note is made out to it | [packages/core/src/session/connect-code.ts:48](https://github.com/leifriksheim/minca/blob/main/core/src/session/connect-code.ts#L48) |
| <a id="property-name"></a> `name` | `readonly` | `string` | What the program calls itself, e.g. "Agent on leifs-macbook". Shown, not trusted. | [packages/core/src/session/connect-code.ts:50](https://github.com/leifriksheim/minca/blob/main/core/src/session/connect-code.ts#L50) |
| <a id="property-proof"></a> `proof` | `readonly` | `string` | The key's proof that it holds itself, for a records-only note (`keyProof`, `via: code`, the home's origin) | [packages/core/src/session/connect-code.ts:52](https://github.com/leifriksheim/minca/blob/main/core/src/session/connect-code.ts#L52) |
