Documents
Handles all Security Token Document related functionality

Hierarchy

Index

Properties

Methods

Properties

Protected context

context: Context
Inherited from void

Protected parent

parent: SecurityToken
Inherited from void

Methods

get

get(paginationOpts?: PaginationOptions): Promise‹ResultSetTokenDocument››
Retrieve all documents linked to the Security Token
note supports pagination
Parameters:
Name
Type
paginationOpts?
Returns: Promise‹ResultSetTokenDocument››

set

set(args: SetTokenDocumentsParams, opts?: ProcedureOpts): Promise‹TransactionQueueSecurityToken››
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 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
opts?
Returns: Promise‹TransactionQueueSecurityToken››
Last modified 26d ago