You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Android-SafetyNet: if required, check for Compatibility Testing Suite (CTS).
335
+
if ($requireCtsProfileMatch && $attestationObject->getAttestationFormat() instanceofAttestation\Format\AndroidSafetyNet) {
336
+
if (!$attestationObject->getAttestationFormat()->ctsProfileMatch()) {
337
+
thrownewWebAuthnException('invalid ctsProfileMatch: device is not approved as a Google-certified Android device.', WebAuthnException::ANDROID_NOT_TRUSTED);
338
+
}
339
+
}
340
+
333
341
// 15. If validation is successful, obtain a list of acceptable trust anchors
0 commit comments