Package 

Class PlayIntegrityClient


  • 
    public final class PlayIntegrityClient
    
                        

    Thin Play Integrity API wrapper returning token + basic interpretation hooks.

    Full verdict decoding requires a backend with Google Play Integrity decryption. Client-side this module surfaces token acquisition and availability threats.

    • Method Summary

      Modifier and Type Method Description
      final String requestToken(String nonce) Requests an integrity token for nonce (UTF-8, max 500 chars recommended by Google).
      final List<Threat> availabilityThreats(Boolean enabledInConfig) Produces threats when Play Integrity is unavailable / misconfigured locally.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PlayIntegrityClient

        PlayIntegrityClient(Context context, Long cloudProjectNumber)
    • Method Detail

      • availabilityThreats

         final List<Threat> availabilityThreats(Boolean enabledInConfig)

        Produces threats when Play Integrity is unavailable / misconfigured locally.