Skip to main content

IdentityCoreClient

Represents a client for interacting with the Bloock Identity service.

  • Full name: \Bloock\Client\IdentityCoreClient

Properties

bridge

private $bridge

config

private $config

Methods

__construct

Creates a new instance of the IdentityCoreClient with the provided configuration.

public __construct(\Bloock\ConfigData|null $config = null): mixed

Parameters:

ParameterTypeDescription
$config\Bloock\ConfigData|null

buildCredential

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

public buildCredential(\Bloock\Entity\Identity\Issuer $issuer, string $schemaId, string $holderDid, int $expiration, int $version): \Bloock\Entity\Identity\CredentialCoreBuilder

Parameters:

ParameterTypeDescription
$issuer\Bloock\Entity\Identity\Issuer
$schemaIdstring
$holderDidstring
$expirationint
$versionint


Automatically generated on 2024-04-02