Documents
Handles all Security Token Document related functionality
Hierarchy
Namespace‹SecurityToken›
↳ Documents
Index
Properties
Methods
Properties
Protected
context
Protected
context• context: Context
Inherited from void
Defined in src/api/entities/Namespace.ts:11
Protected
parent
Protected
parent• parent: SecurityToken
Inherited from void
Defined in src/api/entities/Namespace.ts:9
Methods
get
▸ get(paginationOpts?
: PaginationOptions): Promise‹ResultSet‹TokenDocument››
Defined in src/api/entities/SecurityToken/Documents.ts:51
Retrieve all documents linked to the Security Token
note
supports pagination
Parameters:
Name
Type
paginationOpts?
Returns: Promise‹ResultSet‹TokenDocument››
set
▸ set(args
: SetTokenDocumentsParams): Promise‹TransactionQueue‹SecurityToken››
Defined in src/api/entities/SecurityToken/Documents.ts:42
Assign a new list of documents to the Security Token by replacing the existing list of documents with the one passed in the parameters
This requires two transactions
note
required role:
Security Token Owner
note
this method is of type 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
Returns: Promise‹TransactionQueue‹SecurityToken››
Last updated