Class PresentationResult
java.lang.Object
com.pingidentity.sdk.pingonewallet.types.PresentationResult
Result of a credential presentation
-
Constructor Summary
ConstructorsConstructorDescriptionPresentationResult(boolean result, Map<String, String> details, Throwable error) PresentationResult(com.pingidentity.did.sdk.w3c.verifiableCredential.PresentationStatus presentationStatus, Map<String, String> details, Throwable error) -
Method Summary
Modifier and TypeMethodDescriptionDetails of credential presentation result if availablegetError()Exceptions if any occur while presenting credentialscom.pingidentity.did.sdk.w3c.verifiableCredential.PresentationStatusWhether or not the presentation was successfulbooleanDeprecated.
-
Constructor Details
-
PresentationResult
-
PresentationResult
-
-
Method Details
-
isSuccessful
public boolean isSuccessful()Deprecated.Use #getPresentationStatus()instead -
getPresentationStatus
public com.pingidentity.did.sdk.w3c.verifiableCredential.PresentationStatus getPresentationStatus()Whether or not the presentation was successful- Returns:
- PresentationStatus
-
getDetails
Details of credential presentation result if available- Returns:
- Map containing presentation result if available
-
getError
Exceptions if any occur while presenting credentials- Returns:
- Throwable
-
getPresentationStatus()instead