Skip to main content

Credential_2 class

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Represents some common properties of a Verifiable Credential that are stored in a TypeORM database for querying.

Signature:

export declare class Credential extends BaseEntity

Extends: BaseEntity

Properties

PropertyModifiersTypeDescription
claimsRelation<Claim[]>(BETA)
contextstring[](BETA)
expirationDate?Date(BETA) (Optional)
hashstring(BETA)
id?string(BETA) (Optional)
issuanceDateDate(BETA)
issuerRelation<Identifier>(BETA)
messagesRelation<Message[]>(BETA)
presentationsRelation<Presentation[]>(BETA)
rawVerifiableCredential(BETA)
subject?Relation<Identifier>(BETA) (Optional)
typestring[](BETA)