# Interface: GrantChoice

Defined in: [packages/core/src/session/auth.ts:346](https://github.com/leifriksheim/minca/blob/main/core/src/session/auth.ts#L346)

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/core/src/session/auth.ts:352](https://github.com/leifriksheim/minca/blob/main/core/src/session/auth.ts#L352) |
| <a id="property-origin"></a> `origin` | `readonly` | `string` | - | [packages/core/src/session/auth.ts:347](https://github.com/leifriksheim/minca/blob/main/core/src/session/auth.ts#L347) |
| <a id="property-request"></a> `request` | `readonly` | [`ConnectRequest`](https://minca.dev/api/session/interfaces/ConnectRequest.md) | - | [packages/core/src/session/auth.ts:348](https://github.com/leifriksheim/minca/blob/main/core/src/session/auth.ts#L348) |
| <a id="property-spaceids"></a> `spaceIds` | `readonly` | readonly `string`[] | Existing spaces to give the app | [packages/core/src/session/auth.ts:350](https://github.com/leifriksheim/minca/blob/main/core/src/session/auth.ts#L350) |
