# TrustedClaimIssuers

Handles all Security Token Default Trusted Claim Issuers related functionality

## Hierarchy

* Namespace‹[SecurityToken](https://developers.polymath.network/polymesh-sdk-api-reference/v11.0.2/classes/securitytoken)›

  ↳ **TrustedClaimIssuers**

## Index

### Properties

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

### Methods

* [add](#add)
* [get](#get)
* [remove](#remove)
* [set](#set)

## 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**: [*SecurityToken*](https://developers.polymath.network/polymesh-sdk-api-reference/v11.0.2/classes/securitytoken)

*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

### add

▸ **add**(`args`: [ModifyTokenTrustedClaimIssuersAddSetParams](https://github.com/PolymathNetwork/polymesh-sdk/blob/docs/v11/docs/interfaces/modifytokentrustedclaimissuersaddsetparams.md), `opts?`: [ProcedureOpts](https://github.com/PolymathNetwork/polymesh-sdk/blob/docs/v11/docs/interfaces/procedureopts.md)): *Promise‹*[*TransactionQueue*](https://developers.polymath.network/polymesh-sdk-api-reference/v11.0.2/classes/transactionqueue)*‹*[*SecurityToken*](https://developers.polymath.network/polymesh-sdk-api-reference/v11.0.2/classes/securitytoken)*››*

*Defined in* [*src/api/entities/SecurityToken/Compliance/TrustedClaimIssuers.ts:91*](https://github.com/PolymathNetwork/polymesh-sdk/blob/da0f7fd7/src/api/entities/SecurityToken/Compliance/TrustedClaimIssuers.ts#L91)

Add the supplied Identities to the Security Token's list of trusted claim issuers

**`note`** this method is of type [ProcedureMethod](https://github.com/PolymathNetwork/polymesh-sdk/blob/docs/v11/docs/interfaces/proceduremethod.md), which means you can call `add.checkAuthorization` on it to see whether the Current Account has the required permissions to run it

**Parameters:**

| Name    | Type                                                                                                                                                                      |
| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `args`  | [ModifyTokenTrustedClaimIssuersAddSetParams](https://github.com/PolymathNetwork/polymesh-sdk/blob/docs/v11/docs/interfaces/modifytokentrustedclaimissuersaddsetparams.md) |
| `opts?` | [ProcedureOpts](https://github.com/PolymathNetwork/polymesh-sdk/blob/docs/v11/docs/interfaces/procedureopts.md)                                                           |

**Returns:** *Promise‹*[*TransactionQueue*](https://developers.polymath.network/polymesh-sdk-api-reference/v11.0.2/classes/transactionqueue)*‹*[*SecurityToken*](https://developers.polymath.network/polymesh-sdk-api-reference/v11.0.2/classes/securitytoken)*››*

***

### get

▸ **get**(): *Promise‹*[*DefaultTrustedClaimIssuer*](https://developers.polymath.network/polymesh-sdk-api-reference/v11.0.2/classes/defaulttrustedclaimissuer)*\[]›*

*Defined in* [*src/api/entities/SecurityToken/Compliance/TrustedClaimIssuers.ts:110*](https://github.com/PolymathNetwork/polymesh-sdk/blob/da0f7fd7/src/api/entities/SecurityToken/Compliance/TrustedClaimIssuers.ts#L110)

Retrieve the current Default Trusted Claim Issuers of the Security Token

**`note`** can be subscribed to

**Returns:** *Promise‹*[*DefaultTrustedClaimIssuer*](https://developers.polymath.network/polymesh-sdk-api-reference/v11.0.2/classes/defaulttrustedclaimissuer)*\[]›*

▸ **get**(`callback`: [SubCallback](https://developers.polymath.network/polymesh-sdk-api-reference/v11.0.2/globals#subcallback)‹[DefaultTrustedClaimIssuer](https://developers.polymath.network/polymesh-sdk-api-reference/v11.0.2/classes/defaulttrustedclaimissuer)\[]›): *Promise‹*[*UnsubCallback*](https://developers.polymath.network/polymesh-sdk-api-reference/v11.0.2/globals#unsubcallback)*›*

*Defined in* [*src/api/entities/SecurityToken/Compliance/TrustedClaimIssuers.ts:111*](https://github.com/PolymathNetwork/polymesh-sdk/blob/da0f7fd7/src/api/entities/SecurityToken/Compliance/TrustedClaimIssuers.ts#L111)

**Parameters:**

| Name       | Type                                                                                                                                                                                                                                                |
| ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `callback` | [SubCallback](https://developers.polymath.network/polymesh-sdk-api-reference/v11.0.2/globals#subcallback)‹[DefaultTrustedClaimIssuer](https://developers.polymath.network/polymesh-sdk-api-reference/v11.0.2/classes/defaulttrustedclaimissuer)\[]› |

**Returns:** *Promise‹*[*UnsubCallback*](https://developers.polymath.network/polymesh-sdk-api-reference/v11.0.2/globals#unsubcallback)*›*

***

### remove

▸ **remove**(`args`: [ModifyTokenTrustedClaimIssuersRemoveParams](https://github.com/PolymathNetwork/polymesh-sdk/blob/docs/v11/docs/interfaces/modifytokentrustedclaimissuersremoveparams.md), `opts?`: [ProcedureOpts](https://github.com/PolymathNetwork/polymesh-sdk/blob/docs/v11/docs/interfaces/procedureopts.md)): *Promise‹*[*TransactionQueue*](https://developers.polymath.network/polymesh-sdk-api-reference/v11.0.2/classes/transactionqueue)*‹*[*SecurityToken*](https://developers.polymath.network/polymesh-sdk-api-reference/v11.0.2/classes/securitytoken)*››*

*Defined in* [*src/api/entities/SecurityToken/Compliance/TrustedClaimIssuers.ts:101*](https://github.com/PolymathNetwork/polymesh-sdk/blob/da0f7fd7/src/api/entities/SecurityToken/Compliance/TrustedClaimIssuers.ts#L101)

Remove the supplied Identities from the Security Token's list of trusted claim issuers \*

**`note`** this method is of type [ProcedureMethod](https://github.com/PolymathNetwork/polymesh-sdk/blob/docs/v11/docs/interfaces/proceduremethod.md), which means you can call `remove.checkAuthorization` on it to see whether the Current Account has the required permissions to run it

**Parameters:**

| Name    | Type                                                                                                                                                                      |
| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `args`  | [ModifyTokenTrustedClaimIssuersRemoveParams](https://github.com/PolymathNetwork/polymesh-sdk/blob/docs/v11/docs/interfaces/modifytokentrustedclaimissuersremoveparams.md) |
| `opts?` | [ProcedureOpts](https://github.com/PolymathNetwork/polymesh-sdk/blob/docs/v11/docs/interfaces/procedureopts.md)                                                           |

**Returns:** *Promise‹*[*TransactionQueue*](https://developers.polymath.network/polymesh-sdk-api-reference/v11.0.2/classes/transactionqueue)*‹*[*SecurityToken*](https://developers.polymath.network/polymesh-sdk-api-reference/v11.0.2/classes/securitytoken)*››*

***

### set

▸ **set**(`args`: [ModifyTokenTrustedClaimIssuersAddSetParams](https://github.com/PolymathNetwork/polymesh-sdk/blob/docs/v11/docs/interfaces/modifytokentrustedclaimissuersaddsetparams.md), `opts?`: [ProcedureOpts](https://github.com/PolymathNetwork/polymesh-sdk/blob/docs/v11/docs/interfaces/procedureopts.md)): *Promise‹*[*TransactionQueue*](https://developers.polymath.network/polymesh-sdk-api-reference/v11.0.2/classes/transactionqueue)*‹*[*SecurityToken*](https://developers.polymath.network/polymesh-sdk-api-reference/v11.0.2/classes/securitytoken)*››*

*Defined in* [*src/api/entities/SecurityToken/Compliance/TrustedClaimIssuers.ts:81*](https://github.com/PolymathNetwork/polymesh-sdk/blob/da0f7fd7/src/api/entities/SecurityToken/Compliance/TrustedClaimIssuers.ts#L81)

Assign a new default list of trusted claim issuers to the Security Token by replacing the existing ones with the list passed as a parameter

This requires two transactions

**`note`** this method is of type [ProcedureMethod](https://github.com/PolymathNetwork/polymesh-sdk/blob/docs/v11/docs/interfaces/proceduremethod.md), which means you can call `set.checkAuthorization` on it to see whether the Current Account has the required permissions to run it

**Parameters:**

| Name    | Type                                                                                                                                                                      |
| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `args`  | [ModifyTokenTrustedClaimIssuersAddSetParams](https://github.com/PolymathNetwork/polymesh-sdk/blob/docs/v11/docs/interfaces/modifytokentrustedclaimissuersaddsetparams.md) |
| `opts?` | [ProcedureOpts](https://github.com/PolymathNetwork/polymesh-sdk/blob/docs/v11/docs/interfaces/procedureopts.md)                                                           |

**Returns:** *Promise‹*[*TransactionQueue*](https://developers.polymath.network/polymesh-sdk-api-reference/v11.0.2/classes/transactionqueue)*‹*[*SecurityToken*](https://developers.polymath.network/polymesh-sdk-api-reference/v11.0.2/classes/securitytoken)*››*
