Find who checks each value
Play Integrity and DRM answer different questions for different parts of a system. Map the request that carries each value, the service that verifies it and the operation that follows. A label shown in the app is not a substitute for that map.
| Value | Where to trace it | What the client needs |
|---|---|---|
| Integrity token | App request and backend verification | The request-bound exchange and verdict handling |
| DRM licence | DRM session and licence service | The media item, licence exchange and session state |
| Device identifier | Its source API and app request field | The actual identifier rule and stored registration |
| Account entitlement | App backend | Login, access rights and refresh behavior |
These checks can be connected by the application’s own policy. Recover that connection from requests and code rather than assuming one successful check satisfies the others.
Bind the verdict to the right API operation
For a standard Play Integrity request, the app can supply a request hash. The backend compares the returned request details with the operation it is about to accept. Google’s standard-request guide describes that binding.
When reconstructing a workflow, record the bytes used for that hash and when the token is requested. A verdict for one operation does not describe an unrelated body sent later. Follow the app’s retry path and the server’s response as separate evidence.
Read DRM security in the media path
The DRM session has its own security properties and licence policy. Inspect the DRM scheme, session configuration and response alongside the selected content. The MediaDrm reference exposes session security and DRM properties; the meaning of a property also depends on the plugin that implements it.
A MediaDrm device identifier is not an integrity verdict or a bearer token. Record which API returns it and where the app stores or sends it. Do not infer its reset, app-scope or reinstall behavior from its name. Establish those behaviors for the relevant plugin and device before depending on them.
An example that keeps failures separate
The owned policy test treats integrity verification, request matching and licence validity as separate inputs. It checks four outcomes:
- A verified request with an invalid licence reaches the playback failure.
- A failed integrity check rejects the API operation.
- A valid verdict with a mismatched request rejects that operation.
- Passing all three checks allows the example playback action.
This is a local policy model, not a Google token verifier or a real DRM session. Its purpose is to show which state a client must keep separate. Device testing supplies the actual verdict and licence evidence.
Turn that map into a working integration
Keep account login, device registration, protected requests and playback in the same sequence as the app. Expose the finished task through a documented client method. Logs should identify which step failed without copying secret tokens or licence data.
For the wider request flow, see device-bound API reconstruction and Widevine licence requests. Send the app or describe what you need it to do.
Reviewed 22 October 2026 · SReverse research desk