Contents

requestID

An app defined identifier.

Declaration

final var requestID: String? { get }

Discussion

Provide this as the requestID in the InsightEvaluator.InsightContext for the evaluation request

If provided in the InsightEvaluator.InsightContext this is non-nil and should match the value included in the context for the request. Any mismatch indicates that your app shouldn’t trust the payload and may have been injected by an attacker in some way.

An app can also use this ID to link requests or as a wider app specific ID for the active operation.

See Also

Evaluation properties