IPresentation
@iota/identity-wasm API documentation
Interface: IPresentation
Fields for constructing a new Presentation.
Indexable
[properties: string]: unknown
Properties
context?
readonlyoptionalcontext:string|Record<string,any> | (string|Record<string,any>)[]
The JSON-LD context(s) applicable to the presentation.
id?
readonlyoptionalid:string
A unique URI that may be used to identify the presentation.
type?
readonlyoptionaltype:string|string[]
One or more URIs defining the type of the presentation. Contains the base context by default.
verifiableCredential
readonlyverifiableCredential:Record<string,any> |Jwt|Credential| (Record<string,any> |Jwt|Credential)[]
JWT Credential(s) expressing the claims of the presentation.
holder
The entity that generated the presentation.
refreshService?
readonlyoptionalrefreshService:RefreshService|RefreshService[]
Service(s) used to refresh an expired Credential in the presentation.
termsOfUse?
Terms-of-use specified by the presentation holder.