# Interface: GrantChoice

Defined in: [packages/auth/src/auth.ts:350](https://github.com/leifriksheim/minca/blob/main/auth/src/auth.ts#L350)

What the person chose on the approval screen

## Properties

| Property | Modifier | Type | Description | Defined in |
| ------ | ------ | ------ | ------ | ------ |
| <a id="property-days"></a> `days?` | `readonly` | `number` | How long the note lasts, overriding what the request asked for. Default: the request's `days`, or 7. | [packages/auth/src/auth.ts:356](https://github.com/leifriksheim/minca/blob/main/auth/src/auth.ts#L356) |
| <a id="property-everyspace"></a> `everySpace?` | `readonly` | `boolean` | For a records-only request for the whole account: false to give only `spaceIds` instead, with no account key. Default true. | [packages/auth/src/auth.ts:361](https://github.com/leifriksheim/minca/blob/main/auth/src/auth.ts#L361) |
| <a id="property-origin"></a> `origin` | `readonly` | `string` | - | [packages/auth/src/auth.ts:351](https://github.com/leifriksheim/minca/blob/main/auth/src/auth.ts#L351) |
| <a id="property-request"></a> `request` | `readonly` | [`ConnectRequest`](https://minca.dev/api/session/interfaces/ConnectRequest.md) | - | [packages/auth/src/auth.ts:352](https://github.com/leifriksheim/minca/blob/main/auth/src/auth.ts#L352) |
| <a id="property-spaceids"></a> `spaceIds` | `readonly` | readonly `string`[] | Existing spaces to give the app | [packages/auth/src/auth.ts:354](https://github.com/leifriksheim/minca/blob/main/auth/src/auth.ts#L354) |
