AppAttestationClient

constructor(context: Context, deviceId: String, googleCloudProjectId: Long, integrityManager: StandardIntegrityManager = createStandard(context), remoteAccessConsumerKeyProvider: RemoteAccessConsumerKeyProvider, restClient: RestClient)

Parameters

deviceId

The device id, usually provided by the Salesforce SDK Manager

googleCloudProjectId

The Google Cloud Project ID used with Google Play Integrity API

integrityManager

The Google Play App Integrity API Integrity Manager. This parameter is intended for testing purposes only. Defaults to a new instance

remoteAccessConsumerKeyProvider

Provides the Salesforce External Client App (ECA) remote access consumer key, usually sourced from the boot config

restClient

The REST client, usually provided by the Salesforce SDK Manager's unauthenticated REST client