api_client_Identities.Identities
Last updated
Was this helpful?
Last updated
Was this helpful?
/ / / Identities
.Identities
Handles all Identity related functionality
▸ createPortfolio(args
, opts?
): Promise
<TransactionQueue
<, , unknown
[][]>>
Create a new Portfolio under the ownership of the signing Identity
Parameters
args
Object
args.name
string
opts?
Returns
Defined in
Create an Identity instance from a DID
throws
if there is no Identity with the passed DID
Parameters
args
Object
args.did
string
Returns
Defined in
▸ isIdentityValid(args
): Promise
<boolean
>
Return whether the supplied Identity/DID exists
Parameters
args
Object
args.identity
Returns
Promise
<boolean
>
Defined in
Register an Identity
note
must be a CDD provider
note
required role:
Customer Due Diligence Provider
Parameters
args
opts?
Returns
Defined in
note
this method is of type , which means you can call on it to see whether the signing Account and Identity have the required roles and permissions to run it
Promise
<TransactionQueue
<, , unknown
[][]>>
▸ getIdentity(args
): Promise
<>
Promise
<>
string
|
▸ registerIdentity(args
, opts?
): Promise
<TransactionQueue
<, , unknown
[][]>>
note
this may create which have to be accepted by the targetAccount
. An or can fetch its pending Authorization Requests by calling . Also, an Account or Identity can directly fetch the details of an Authorization Request by calling
note
this method is of type , which means you can call on it to see whether the signing Account and Identity have the required roles and permissions to run it
Promise
<TransactionQueue
<, , unknown
[][]>>