ProvisioningModel
constructor(documentStore: DocumentStore, secureArea: SecureArea, httpClient: HttpClient, promptModel: PromptModel, documentMetadataInitializer: suspend (metadata: AbstractDocumentMetadata, credentialDisplay: Display, issuerDisplay: Display) -> Unit)
Parameters
documentStore
new Document will be created in this DocumentStore
secureArea
Credential objects will be bound to this SecureArea
httpClient
HTTP client used to communicate to the provisioning server, it MUST NOT handle redirects automatically
promptModel
PromptModel that is used to show prompts to generate proof-of-possession for credential keys
documentMetadataInitializer
function that initializes document metadata at Document creation time based on issuance server metadata