PingAuthorize API Reference

Trust Framework Testing

Trust Framework testing in PingAuthorize enables you to validate the type conversion of policy information points (PIP) included in decision requests and the logical behavior of conditions.

The PingAuthorize Trust Framework test endpoint allows you to test attribute, condition, and service definitions.

Authorization entity testing data model

Property Type? Required? Mutable? Description

attributeValueOverrides

Map<String, String>

N/A

N/A

A map of attribute value overrides, where the key is the attribute name and the value is the overridden value.

decisionRequest

Object

N/A

N/A

The decision request object containing the details of the decision to be made.

serviceValueOverrides

Map<String, String>

N/A

N/A

A map of service value overrides, where the key is the service name and the value is the overridden value.

Authorization decision status data model

Property Type? Required? Mutable? Description

code

Object

N/A

N/A

An enumeration of the possible decision evaluation statuses. Can be null. Values: OKAY, GUARD FAILED, INTERNAL GUARD FAILED, MISSING_ATTRIBUTE, TYPE_CONVERSION_ERROR, PROCESSING_ERROR, TIMEOUT.

messages

Object

N/A

N/A

Any status messages describing the status code. Can be null.

errors

Object

N/A

N/A

Any decision errors produced during an evaluation. Can be null.

Authorization decision error data model

Property Type? Required? Mutable? Description

code

Object

N/A

N/A

An enumeration of the possible decision evaluation statuses. Can be null. Values: OKAY, GUARD FAILED, INTERNAL GUARD FAILED, MISSING_ATTRIBUTE, TYPE_CONVERSION_ERROR, PROCESSING_ERROR, TIMEOUT.

messages

String

N/A

N/A

A description of the error. Can be null.