# Function: grantSigner()

```ts
function grantSigner(grant): RootSigner;
```

Defined in: [packages/core/src/session/connect.ts:577](https://github.com/leifriksheim/minca/blob/main/core/src/session/connect.ts#L577)

A signer that answers with the note the home gave — the app holds nothing
else. Given a getter, it answers with whichever grant is current.

## Parameters

| Parameter | Type |
| ------ | ------ |
| `grant` | \| [`Grant`](https://minca.dev/api/session/interfaces/Grant.md) \| (() => [`Grant`](https://minca.dev/api/session/interfaces/Grant.md) \| `null`) |

## Returns

[`RootSigner`](https://minca.dev/api/core/interfaces/RootSigner.md)
