Skip to main content

@bloock/sdk / IdentityCoreClient

Class: IdentityCoreClient

Represents a client for interacting with the Bloock Identity service.

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new IdentityCoreClient(configData?): IdentityCoreClient

Creates a new instance of the IdentityCoreClient with default configuration.

Parameters

NameType
configData?ConfigData

Returns

IdentityCoreClient

Defined in

client/identity_core.ts:15

Properties

configData

Private configData: ConfigData

Defined in

client/identity_core.ts:9

Methods

buildCredential

buildCredential(issuer, schemaId, holderDid, expiration, version): CredentialCoreBuilder

Creates a new credential builder for defining a credential on the Bloock Identity service.

Parameters

NameType
issuerIssuer
schemaIdstring
holderDidstring
expirationnumber
versionnumber

Returns

CredentialCoreBuilder

Defined in

client/identity_core.ts:28