Skip to main content

MethodScope

@iota/identity-wasm API documentation


Class: MethodScope

Supported verification method types.

Methods​

toJSON()​

Call Signature​

toJSON(): Object

  • Return copy of self without private attributes.
Returns​

Object

Call Signature​

toJSON(): any

Serializes this to a JSON object.

Returns​

any


toString()​

Call Signature​

toString(): string

Return stringified version of self.

Returns​

string

Call Signature​

toString(): string

Returns the MethodScope as a string.

Returns​

string


fromJSON()​

static fromJSON(json): MethodScope

Deserializes an instance from a JSON object.

Parameters​

json​

any

Returns​

MethodScope


clone()​

clone(): MethodScope

Deep clones the object.

Returns​

MethodScope