Google.Play.Integrity.IntegrityManager

Manages requests for integrity information.

Summary

DEPRECATED: Please use IntegrityManagerV2 instead.

Constructors and Destructors

IntegrityManager()
Constructor.

Public functions

RequestIntegrityToken(IntegrityTokenRequest integrityTokenRequest)
Starts a PlayAsyncOperation to generate a token for integrity-related enquiries, and provides the token as its result.

Public functions

IntegrityManager

IntegrityManager()

Constructor.

RequestIntegrityToken

PlayAsyncOperation<IntegrityTokenResponse ,IntegrityErrorCode >RequestIntegrityToken(
IntegrityTokenRequest integrityTokenRequest
)

Starts a PlayAsyncOperation to generate a token for integrity-related enquiries, and provides the token as its result.

Details
Returns
A PlayAsyncOperation{IntegrityTokenResponse, IntegrityErrorCode} that returns IntegrityTokenResponse on successful callback or IntegrityErrorCode on failure callback.

DEPRECATED: Please use IntegrityManagerV2.RequestIntegrityToken(IntegrityTokenRequest) instead.

The JSON payload is signed and encrypted as a nested JSON Web Token (JWT), that is JWE of JWS.

JWE uses A256KW as a key wrapping algorithm and A256GCM as a content encryption algorithm. JWS uses ES256 as a signing algorithm.

All decryption and verification should be done within a secure server environment. Do not decrypt or verify the received token from within the client app. In particular, never expose any decryption keys to the client app.

See https://developer.android.com/google/play/integrity/classic#token-format.

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2026年05月28日 UTC.