Device Connector

Last Updated: November 2026

The device intelligence connector of the Risk Connectors plugin (risk-connectors) connects a device intelligence service of your choice to the engine over HTTP and registers a device provider with the risk extension point (see Risk Providers). Installation, the settings form, the authentication shapes, the address checks, the mapping language and the admin tools are the same as for the identity verification connector; only the fields differ. The settings start with Device instead of Identity.

What the connector does

The connector answers the extension point’s device question: a device identifier, a risk score from 0 to 100 and named signals, with the extension point’s timeout, bounded retries and fail rule. An answer that does not fit the mapping (no score, a score outside 0 to 100, signals that are not a list or a comma-separated text, a body that is not JSON, an HTTP error, a redirect, a timeout, an answer over 64 KB) is a provider error, never a zero score.

No engine action uses the device answer yet. The extension point defines the device kind, but no check of registration, sign-in or a real-money action asks a device provider, and the client does not send a device identifier. A device rule (for example, refuse sign-in above a score) is a separate engine change. Until then the connector can be configured and tested from the admin tools, and the risk status lists it as registered.

Fields you can send (request mapping sources)

PathValue
request.userIdThe account id, when known
request.ipThe client address as the server saw it
request.userAgentThe browser’s user agent
request.deviceIdA device identifier the client sent, if any

Nothing is sent that your mapping does not name.

Result fields (response mapping targets)

FieldRequiredMeaning
riskScoreYesA number from 0 to 100 (text is converted)
signalsNoA list of short names, or a comma-separated text (at most 20, 40 characters each)
deviceIdNoThe service’s device identifier
bandNoA band name (for example from a band transform); shown in the test result
referenceNoThe service’s reference; shown in the test result

Worked example (a made-up service)

The made-up service at https://provider.example/v1/device/score takes a GET with the address and the device identifier, signed with an HMAC over "<timestamp>.<path and query>" (a GET has no body), and answers:

{ "assessment": { "score": "72", "labels": ["emulator", "relay"] } }

Settings: endpoint https://provider.example/v1/device/score, method GET, authentication HMAC signature over the body, header X-Signature, the shared secret in Device key or secret. Request mapping (flat names, sent as query parameters):

{ "address": { "from": "request.ip" }, "device": { "from": "request.deviceId" } }

Response mapping:

{
  "riskScore": { "from": "assessment.score", "transforms": [{ "op": "number" }] },
  "signals": { "from": "assessment.labels" },
  "band": { "from": "assessment.score", "transforms": [{ "op": "band", "bands": [{ "min": 0, "value": "low" }, { "min": 40, "value": "medium" }, { "min": 70, "value": "high" }] }] }
}

Data sent: the client address and the device identifier, nothing else.

Content security policy and firewall

As for the identity connector: the call is made by the server, so no content security policy entry is needed; allow outbound HTTPS from the engine’s servers to the service’s host. The device connector has no callback route.

Try the live demo Pricing

Have questions about Poker Engine? We reply fast.