Interface: IPresentation
identity_wasm.IPresentation
Fields for constructing a new Presentation.
Table of contents
Properties
Properties
context
• Optional
Readonly
context: string
| Record
\<string
, any
> | (string
| Record
\<string
, any
>)[]
The JSON-LD context(s) applicable to the presentation.
id
• Optional
Readonly
id: string
A unique URI that may be used to identify the presentation.
type
• Optional
Readonly
type: string
| string
[]
One or more URIs defining the type of the presentation. Contains the base context by default.
verifiableCredential
• Readonly
verifiableCredential: Record
\<string
, any
> | Jwt
| Credential
| (Record
\<string
, any
> | Jwt
| Credential
)[]
JWT Credential(s) expressing the claims of the presentation.
holder
• Readonly
holder: string
| CoreDID
| IotaDID
The entity that generated the presentation.
refreshService
• Optional
Readonly
refreshService: RefreshService
| RefreshService
[]
Service(s) used to refresh an expired Credential in the presentation.
termsOfUse
• Optional
Readonly
termsOfUse: Policy
| Policy
[]
Terms-of-use specified by the presentation holder.