SelectiveDisclosure.validatePresentationAgainstSdr() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Validates a uPort Selective Disclosure response encoded as a Presentation
Signature:
validatePresentationAgainstSdr(args: IValidatePresentationAgainstSdrArgs, context: IAgentContext<{}>): Promise<IPresentationValidationResult>;
Parameters
Parameter | Type | Description |
---|---|---|
args | IValidatePresentationAgainstSdrArgs | Contains the request and the response Presentation that needs to be checked. |
context | IAgentContext<{}> | *RESERVED* This is filled by the framework when the method is called. This API may change without a BREAKING CHANGE notice. |
Returns:
Promise<IPresentationValidationResult>