API reference
API reference
Select your platform
No SDKs available
No versions available

ovr_DeviceApplicationIntegrity_GetIntegrityToken Function

Returns Device and Application Integrity Attestation JSON Web Token. The token has format of header.claims.signature encoded in base64. Header contains algorithm type (PS256) and token type (JWT). See more details here. ovrMessage_DeviceApplicationIntegrity_GetIntegrityToken will be generated in response.
First call ovr_Message_IsError() to check if an error occurred.
If no error occurred, the message will contain a payload of type const char *. Extract the payload from the message handle with ovr_Message_GetString().

Signature

ovrRequest ovr_DeviceApplicationIntegrity_GetIntegrityToken(const char *challenge_nonce)

Parameters

challenge_nonce: const char * A string that represents a nonce value used to generate the attestation token, ensuring uniqueness and security.

Returns