From 5216b3077e27531e8795725504247fa8f959f6fc Mon Sep 17 00:00:00 2001 From: KristofferStrube Date: Wed, 11 Sep 2024 21:04:53 +0200 Subject: [PATCH] Added Apple to registration. --- .../Pages/Index.razor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/KristofferStrube.Blazor.WebAuthentication.WasmExample/Pages/Index.razor.cs b/samples/KristofferStrube.Blazor.WebAuthentication.WasmExample/Pages/Index.razor.cs index 116ff4e..552312f 100644 --- a/samples/KristofferStrube.Blazor.WebAuthentication.WasmExample/Pages/Index.razor.cs +++ b/samples/KristofferStrube.Blazor.WebAuthentication.WasmExample/Pages/Index.razor.cs @@ -89,7 +89,7 @@ private async Task CreateCredential() Timeout = 360000, Hints = ["client-device"], Attestation = AttestationConveyancePreference.Direct, - AttestationFormats = [AttestationFormat.Packed, AttestationFormat.AndroidKey, AttestationFormat.AndroidSafetyNet, AttestationFormat.TPM] + AttestationFormats = [AttestationFormat.Packed, AttestationFormat.AndroidKey, AttestationFormat.AndroidSafetyNet, AttestationFormat.TPM, AttestationFormat.Apple] } }; credential = await container.CreateAsync(options) is { } c ? new PublicKeyCredential(c) : null;