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
Property | Modifiers | Type | Description |
---|---|---|---|
claims | Relation<Claim[]> | (BETA) | |
context | string[] | (BETA) | |
expirationDate? | Date | (BETA) (Optional) | |
hash | string | (BETA) | |
id? | string | (BETA) (Optional) | |
issuanceDate | Date | (BETA) | |
issuer | Relation<Identifier> | (BETA) | |
messages | Relation<Message[]> | (BETA) | |
presentations | Relation<Presentation[]> | (BETA) | |
raw | VerifiableCredential | (BETA) | |
subject? | Relation<Identifier> | (BETA) (Optional) | |
type | string[] | (BETA) |