Skip to main content

AccessSubIdentity

@iota/identity-wasm API documentation


Class: AccessSubIdentity

Action to access an Identity controlled by another Identity.

Properties

identity

identity: string

Object ID of the Identity whose token will be used.


sub_identity

sub_identity: string

Object ID of the sub-Identity that will be accessed.

Methods

toJSON()

Call Signature

toJSON(): Object

  • Return copy of self without private attributes.
Returns

Object

Call Signature

toJSON(): any

  • Return copy of self without private attributes.
Returns

any


toString()

toString(): string

Return stringified version of self.

Returns

string