Getting consent status from the consent record - PingAuthorize - 9.1

PingAuthorize

bundle
pingauthorize-91
ft:publication_title
PingAuthorize
Product_Version_ce
PingAuthorize 9.1
category
ContentType
Product
Productdocumentation
paz-91
pingauthorize
ContentType_ce
Product documentation

This task defines an attribute that uses a service to get a consent record and then uses a processor to pull the consent status from that record.

  1. Sign on to the Policy Editor.
  2. Go to Trust Framework and click Attributes.
  3. From the + menu, select Add new Attribute.
  4. For the name, replace Untitled with Sharing consent status.
  5. Click the + next to Resolvers.
  6. Click + Add Resolver.
  7. Set Resolver type to Service with a value of Search for consent to share game answers.
  8. Click the + next to Value Processors.
  9. Click + Add Processor.
  10. Set Processor to JSON Path with a value of $.status.
  11. Set Value type to String.

    The following image shows this configuration.

    Screen capture to show the definition of the Sharing consent status attribute
  12. Click Save changes.
The Sharing consent status attribute is available for use in policies.