Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a JSON-LD SDK client.
func (*Client) VerifyDIDAndDomain ¶
VerifyDIDAndDomain will verify that there is valid domain linkage credential in did configuration for specified did and domain.
type HTTPClient ¶
HTTPClient represents an HTTP client.
type Option ¶
type Option func(opts *Client)
Option configures the did configuration client.
func WithHTTPClient ¶
func WithHTTPClient(httpClient HTTPClient) Option
WithHTTPClient option is for custom http client.
func WithJSONLDDocumentLoader ¶
func WithJSONLDDocumentLoader(documentLoader jsonld.DocumentLoader) Option
WithJSONLDDocumentLoader defines a JSON-LD document loader.
func WithVDRegistry ¶
func WithVDRegistry(didResolver didResolver) Option
WithVDRegistry defines a vdr service.
Click to show internal directories.
Click to hide internal directories.