We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent feb1260 commit 3084c3aCopy full SHA for 3084c3a
2 files changed
src/Passkey.php
@@ -81,7 +81,7 @@ protected function authenticator(): Attribute
81
return Attribute::get(function (): ?string {
82
$aaguid = $this->credential['aaguid'] ?? null;
83
84
- if (! is_string($aaguid) || $aaguid === '00000000-0000-0000-0000-000000000000') {
+ if (! is_string($aaguid) || $aaguid === Aaguids::UNKNOWN) {
85
return null;
86
}
87
src/Support/Aaguids.php
@@ -11,6 +11,8 @@
11
*/
12
enum Aaguids: string
13
{
14
+ public const string UNKNOWN = '00000000-0000-0000-0000-000000000000';
15
+
16
case AliasVault = 'a11a5faa-9f32-4b8c-8c5d-2f7d13e8c942';
17
case GooglePasswordManager = 'ea9b8d66-4d01-1d21-3ce4-b6b48cb575d4';
18
case ChromeOnMac = 'adce0002-35bc-c60a-648b-0b25f1f05503';
0 commit comments