Skip to main content
Version: 1.3

Class: MethodScope

identity_wasm.MethodScope

Supported verification method types.

Table of contents

Methods

Methods

toJSON

toJSON(): Object

  • Return copy of self without private attributes.

Returns

Object

toJSON(): any

Serializes this to a JSON object.

Returns

any


toString

toString(): string

Return stringified version of self.

Returns

string

toString(): string

Returns the MethodScope as a string.

Returns

string


VerificationMethod

Static VerificationMethod(): MethodScope

Returns

MethodScope


Authentication

Static Authentication(): MethodScope

Returns

MethodScope


AssertionMethod

Static AssertionMethod(): MethodScope

Returns

MethodScope


KeyAgreement

Static KeyAgreement(): MethodScope

Returns

MethodScope


CapabilityDelegation

Static CapabilityDelegation(): MethodScope

Returns

MethodScope


CapabilityInvocation

Static CapabilityInvocation(): MethodScope

Returns

MethodScope


fromJSON

Static fromJSON(json): MethodScope

Deserializes an instance from a JSON object.

Parameters

NameType
jsonany

Returns

MethodScope


clone

clone(): MethodScope

Deep clones the object.

Returns

MethodScope