# Interface: WhoAmIApp

## Properties

### id

• **id**: `string`

#### Defined in[[id.defined-in]]

[packages/hub/src/lib/who-am-i.ts:41](https://github.com/huggingface/huggingface.js/blob/main/packages/hub/src/lib/who-am-i.ts#L41)

___

### name

• **name**: `string`

#### Defined in[[name.defined-in]]

[packages/hub/src/lib/who-am-i.ts:43](https://github.com/huggingface/huggingface.js/blob/main/packages/hub/src/lib/who-am-i.ts#L43)

___

### scope

• `Optional` **scope**: `Object`

#### Type declaration[[scope.type-declaration]]

| Name | Type |
| :------ | :------ |
| `entities` | `string`[] |
| `role` | ``"admin"`` \| ``"write"`` \| ``"contributor"`` \| ``"read"`` |

#### Defined in[[scope.defined-in]]

[packages/hub/src/lib/who-am-i.ts:44](https://github.com/huggingface/huggingface.js/blob/main/packages/hub/src/lib/who-am-i.ts#L44)

___

### type

• **type**: ``"app"``

#### Defined in[[type.defined-in]]

[packages/hub/src/lib/who-am-i.ts:42](https://github.com/huggingface/huggingface.js/blob/main/packages/hub/src/lib/who-am-i.ts#L42)


<EditOnGithub source="https://github.com/huggingface/huggingface.js/blob/main/docs/hub/interfaces/WhoAmIApp.md" />