@atala/prism-wallet-sdk / Exports / Domain / Credential
Class: Credential
Domain.Credential
Storable define properties a Domain object must implement to be compatible with Pluto
Hierarchy
-
Credential
Implements
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new Credential(): Credential
Returns
Properties
claims
• Abstract
claims: Claim
[]
Defined in
src/domain/models/Credential.ts:14
credentialType
• Abstract
credentialType: CredentialType
Defined in
src/domain/models/Credential.ts:9
id
• Abstract
id: string
Defined in
src/domain/models/Credential.ts:11
issuer
• Abstract
issuer: string
Defined in
src/domain/models/Credential.ts:12
properties
• Abstract
properties: Map
<string
, any
>
Defined in
src/domain/models/Credential.ts:15
recoveryId
• Abstract
recoveryId: string
Defined in
src/domain/models/Credential.ts:10
subject
• Abstract
subject: string
Defined in
src/domain/models/Credential.ts:13
uuid
• Readonly
uuid: string
Universally Unique Identifier. should be unique across all items.
Implementation of
Defined in
src/domain/models/Credential.ts:17
Methods
getProperty
▸ getProperty(name
): any
Parameters
Name | Type |
---|---|
name | string |
Returns
any
Defined in
src/domain/models/Credential.ts:19
isProvable
▸ isProvable(): this is ProvableCredential
Returns
this is ProvableCredential
Defined in
src/domain/models/Credential.ts:23
isRevoked
▸ isRevoked(): boolean