# accessMessage

```ts
function accessMessage(
   tenantPrefix, 
   exp, 
   resourcePath): string;
```

Defined in: packages/asset-client/dist/index.d.ts:58

The signed message. Byte-identical to the server's `accessMessage` and the
worker's — three implementations of one string, which is why all three pin
the exact bytes in a test.

`tenantPrefix` is the base36 segment as it appears in the URL, not the
decimal id: tenant 10 lives at `/a/a/`, and the thing being vouched for is a
path.

## Parameters

| Parameter | Type |
| ------ | ------ |
| `tenantPrefix` | `string` |
| `exp` | `number` |
| `resourcePath` | `string` |

## Returns

`string`