# الواجهة: OAuthResult

## الخصائص

### accessToken

• **accessToken**: `string`

#### معرّف في[[accesstoken.defined-in]]

[packages/hub/src/lib/oauth-handle-redirect.ts:104](https://github.com/huggingface/huggingface.js/blob/main/packages/hub/src/lib/oauth-handle-redirect.ts#L104)

___

### accessTokenExpiresAt

• **accessTokenExpiresAt**: `Date`

#### معرّف في[[accesstokenexpiresat.defined-in]]

[packages/hub/src/lib/oauth-handle-redirect.ts:105](https://github.com/huggingface/huggingface.js/blob/main/packages/hub/src/lib/oauth-handle-redirect.ts#L105)

___

### النطاق

• **scope**: `string`

النطاق الممنوح

#### معرّف في[[scope.defined-in]]

[packages/hub/src/lib/oauth-handle-redirect.ts:114](https://github.com/huggingface/huggingface.js/blob/main/packages/hub/src/lib/oauth-handle-redirect.ts#L114)

___

### الحالة

• `Optional` **الحالة**: `string`

الحالة التي تم تمريرها إلى مزوّد OAuth في الطلب الأصلي إلى مزوّد OAuth.

#### معرّف في[[state.defined-in]]

[packages/hub/src/lib/oauth-handle-redirect.ts:110](https://github.com/huggingface/huggingface.js/blob/main/packages/hub/src/lib/oauth-handle-redirect.ts#L110)

___

### userInfo

• **userInfo**: [`UserInfo`](UserInfo)

#### معرّف في[[userinfo.defined-in]]

[packages/hub/src/lib/oauth-handle-redirect.ts:106](https://github.com/huggingface/huggingface.js/blob/main/packages/hub/src/lib/oauth-handle-redirect.ts#L106)

