# TrustedClaimIssuers

Handles all Security Token Default Trusted Claim Issuers related functionality

## Hierarchy

* Namespace‹[SecurityToken](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/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/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**: [*SecurityToken*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/securitytoken)

*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

### add

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

*Defined in* [*src/api/entities/SecurityToken/Compliance/TrustedClaimIssuers.ts:91*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/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://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/proceduremethod), 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://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/modifytokentrustedclaimissuersaddsetparams) |
| `opts?` | [ProcedureOpts](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/procedureopts)                                                           |

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

### get

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

*Defined in* [*src/api/entities/SecurityToken/Compliance/TrustedClaimIssuers.ts:110*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/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/docs-v10/classes/defaulttrustedclaimissuer)*\[]›*

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

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

**Parameters:**

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

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

### remove

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

*Defined in* [*src/api/entities/SecurityToken/Compliance/TrustedClaimIssuers.ts:101*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/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://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/proceduremethod), 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://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/modifytokentrustedclaimissuersremoveparams) |
| `opts?` | [ProcedureOpts](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/procedureopts)                                                           |

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

### set

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

*Defined in* [*src/api/entities/SecurityToken/Compliance/TrustedClaimIssuers.ts:81*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/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://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/proceduremethod), 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://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/modifytokentrustedclaimissuersaddsetparams) |
| `opts?` | [ProcedureOpts](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/procedureopts)                                                           |

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