IPresentation
@iota/identity-wasm API documentation
Interface: IPresentation
Fields for constructing a new Presentation.
Indexable
[properties
: string
]: unknown
Properties
context?
readonly
optional
context:string
|Record
<string
,any
> | (string
|Record
<string
,any
>)[]
The JSON-LD context(s) applicable to the presentation.
id?
readonly
optional
id:string
A unique URI that may be used to identify the presentation.
type?
readonly
optional
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
The entity that generated the presentation.
refreshService?
readonly
optional
refreshService:RefreshService
|RefreshService
[]
Service(s) used to refresh an expired Credential in the presentation.
termsOfUse?
Terms-of-use specified by the presentation holder.