Identities
Last updated
Was this helpful?
Last updated
Was this helpful?
Handles all Identity related functionality
Identities
▸ createPortfolio(args
: object, opts?
: ): Promise‹‹[], ››
Create a new Portfolio under the ownership of the signing Identity
Parameters:
▪ args: object
name
string
Creates a set of new Portfolios under the ownership of the signing Identity
Parameters:
▪ args: object
names
string[]
Create an Identity instance from a DID
throws
if there is no Identity with the passed DID
Parameters:
▪ args: object
did
string
▸ isIdentityValid(args
: object): Promise‹boolean›
Return whether the supplied Identity/DID exists
Parameters:
▪ args: object
identity
Returns: Promise‹boolean›
Register an Identity
note
must be a CDD provider
note
required role:
Customer Due Diligence Provider
Parameters:
args
opts?
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
▪Optional
opts:
Returns: Promise‹‹[], ››
▸ createPortfolios(args
: object, opts?
: ): Promise‹‹[]››
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
▪Optional
opts:
Returns: Promise‹‹[]››
▸ getIdentity(args
: object): Promise‹›
Defined in
Returns: Promise‹›
Defined in
| string
▸ registerIdentity(args
: , opts?
: ): Promise‹‹››
Defined in
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
Returns: Promise‹‹››