# IdentityAuthorizations

Handles all Identity Authorization related functionality

## Hierarchy

↳ [Authorizations](https://developers.polymath.network/polymesh-sdk-api-reference/v11.0.2/classes/authorizations)‹[Identity](https://developers.polymath.network/polymesh-sdk-api-reference/v11.0.2/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/v11.0.2/classes/context)

*Inherited from void*

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

***

### `Protected` parent

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

*Inherited from void*

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

## Methods

### getOne

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

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

*Defined in* [*src/api/entities/common/namespaces/Authorizations.ts:65*](https://github.com/PolymathNetwork/polymesh-sdk/blob/da0f7fd7/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/v11.0.2/classes/authorizationrequest)*›*

***

### getReceived

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

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

*Defined in* [*src/api/entities/common/namespaces/Authorizations.ts:29*](https://github.com/PolymathNetwork/polymesh-sdk/blob/da0f7fd7/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/v11.0.2/classes/authorizationrequest)*\[]›*

***

### getSent

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

*Defined in* [*src/api/entities/Identity/IdentityAuthorizations.ts:16*](https://github.com/PolymathNetwork/polymesh-sdk/blob/da0f7fd7/src/api/entities/Identity/IdentityAuthorizations.ts#L16)

Fetch all pending authorization requests issued by this Identity

**`note`** supports pagination

**Parameters:**

| Name              | Type                                                                                                                    |
| ----------------- | ----------------------------------------------------------------------------------------------------------------------- |
| `paginationOpts?` | [PaginationOptions](https://github.com/PolymathNetwork/polymesh-sdk/blob/docs/v11/docs/interfaces/paginationoptions.md) |

**Returns:** *Promise‹*[*ResultSet*](https://github.com/PolymathNetwork/polymesh-sdk/blob/docs/v11/docs/interfaces/resultset.md)*‹*[*AuthorizationRequest*](https://developers.polymath.network/polymesh-sdk-api-reference/v11.0.2/classes/authorizationrequest)*››*
