An endpoint to proof a user for a digital credential, using an issuer specified list of evidences, and for a specific device.
HTTP request
POST https://example.issuer.com/api/v1/vdc/proofUser
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "requestMetadata": { object ( |
| Fields | |
|---|---|
requestMetadata |
The metadata about the request, required in all requests. |
deviceReferenceId |
The id that corresponds to the device and the identity key associated with the device. This is NOT a device id, meaning that if the user were to have two separate credentials on the same device, this id would differ between them. This id is supplied in all requests, and can be used to correlate requests. |
proofingId |
An opaque identifier representing a proofing with a specific bundle of evidence, for a specific device. Ex: UUID |
evidence[] |
The list of evidences needed to proof a user for a digital credential. |
Union field proofing_context. The context for proofing. Empty for the initial proofing. proofing_context can be only one of the following: |
|
reverificationContext |
The context for reverification proofing. |
Response body
An acknowledgement to a request to proof a user for a digital credential, that indicates the proofing is now being processed.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"responseMetadata": {
object ( |
| Fields | |
|---|---|
responseMetadata |
The metadata about the response, required in all responses. |
proofingId |
The opaque identifier representing a proofing with a specific bundle of evidence, for a specific device. This is the same proof ID that was sent in the request. |
ProofingEvidence
An object that represents a single piece of evidence.
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field evidence_type. An oneof indicating how the evidence is being presented. evidence_type can be only one of the following: |
|
preAuthorizationCode |
Pre-authorization code sent from the issuer. |
Evidence
An object that represents a single piece of evidence.
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field presencetype. An oneof indicating how the evidence is being presented. presencetype can be only one of the following: |
|
encryptedData |
The encrypted value and encryption metadata necessary to decrypt the value. |
unencryptedValue |
The base64 encoded value of the evidence. |
unencryptedInteger |
Integer value of the evidence. |
ReverificationContext
The context required to trigger reverification for the credential.
| JSON representation |
|---|
{ "credentialId": string } |
| Fields | |
|---|---|
credentialId |
The credential id that the reverification is performed on. |