File tree Expand file tree Collapse file tree
libs/SalesforceSDK/src/com/salesforce/androidsdk/app Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -789,7 +789,9 @@ open class SalesforceSDKManager protected constructor(
789789 }
790790 return OAuthAuthorizationAttestation (
791791 attestationId = deviceId,
792- integrityToken = googlePlayIntegrityTask.getResult().token()
792+ attestationData = Base64 .getEncoder().encodeToString(
793+ googlePlayIntegrityTask.getResult().token().encodeToByteArray()
794+ )
793795 ).toBase64String()
794796 }
795797
@@ -798,12 +800,12 @@ open class SalesforceSDKManager protected constructor(
798800 * @param attestationId The attestation id used when creating the Salesforce
799801 * Mobile App Attestation API Challenge. This is intended to be the
800802 * Salesforce Mobile SDK device id
801- * @param integrityToken The token provided by the Google Play Integrity API
803+ * @param attestationData The token provided by the Google Play Integrity API
802804 */
803805 @Serializable
804806 internal data class OAuthAuthorizationAttestation (
805807 val attestationId : String ,
806- val integrityToken : String ,
808+ val attestationData : String ,
807809 ) {
808810
809811 /* *
You can’t perform that action at this time.
0 commit comments