# IdentityAuthorizations

Handles all Identity Authorization related functionality

## Hierarchy

↳ [Authorizations](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/authorizations)‹[Identity](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/identity)›

↳ **IdentityAuthorizations**

## Index

### Properties

* [context](#protected-context)
* [parent](#protected-parent)

### Methods

* [getOne](#getone)
* [getReceived](#getreceived)
* [getSent](#getsent)

## Properties

### `Protected` context

• **context**: [*Context*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/context)

*Inherited from void*

*Defined in* [*src/api/entities/Namespace.ts:11*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/api/entities/Namespace.ts#L11)

### `Protected` parent

• **parent**: [*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/identity)

*Inherited from void*

*Defined in* [*src/api/entities/Namespace.ts:9*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/api/entities/Namespace.ts#L9)

## Methods

### getOne

▸ **getOne**(`args`: object): *Promise‹*[*AuthorizationRequest*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/authorizationrequest)*›*

*Inherited from* [*Authorizations*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/authorizations)*.*[*getOne*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/authorizations#getone)

*Defined in* [*src/api/entities/common/namespaces/Authorizations.ts:65*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/api/entities/common/namespaces/Authorizations.ts#L65)

Retrieve a single Authorization Request targeting this Signer by its ID

**`throws`** if there is no Authorization Request with the passed ID targeting this Signer

**Parameters:**

▪ **args**: *object*

| Name | Type      |
| ---- | --------- |
| `id` | BigNumber |

**Returns:** *Promise‹*[*AuthorizationRequest*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/authorizationrequest)*›*

### getReceived

▸ **getReceived**(`opts?`: undefined | object): *Promise‹*[*AuthorizationRequest*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/authorizationrequest)*\[]›*

*Inherited from* [*Authorizations*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/authorizations)*.*[*getReceived*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/authorizations#getreceived)

*Defined in* [*src/api/entities/common/namespaces/Authorizations.ts:29*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/api/entities/common/namespaces/Authorizations.ts#L29)

Fetch all pending Authorization Requests for which this Signer is the target

**Parameters:**

| Name    | Type                |
| ------- | ------------------- |
| `opts?` | undefined \| object |

**Returns:** *Promise‹*[*AuthorizationRequest*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/authorizationrequest)*\[]›*

### getSent

▸ **getSent**(`paginationOpts?`: [PaginationOptions](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/paginationoptions)): *Promise‹*[*ResultSet*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/resultset)*‹*[*AuthorizationRequest*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/authorizationrequest)*››*

*Defined in* [*src/api/entities/Identity/IdentityAuthorizations.ts:18*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/api/entities/Identity/IdentityAuthorizations.ts#L18)

Fetch all pending authorization requests issued by this Identity

**`note`** supports pagination

**Parameters:**

| Name              | Type                                                                                                                      |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------- |
| `paginationOpts?` | [PaginationOptions](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/paginationoptions) |

**Returns:** *Promise‹*[*ResultSet*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/resultset)*‹*[*AuthorizationRequest*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/authorizationrequest)*››*
