CredentialPreview

constructor(schemaId: String? = null, attributes: Array<CredentialPreview.Attribute>)(source)

Initializes a new instance of CredentialPreview.

Parameters

schemaId

The ID of the schema associated with the credential. Defaults to null if not provided.

attributes

An array of attributes to include in the credential preview.


constructor(schemaId: String? = null, body: CredentialPreview.Body)(source)