Skip to content

Commit 443f9bd

Browse files
Prioritize TPM.
1 parent 953d383 commit 443f9bd

File tree

1 file changed

+1
-3
lines changed
  • samples/KristofferStrube.Blazor.WebAuthentication.WasmExample/Pages

1 file changed

+1
-3
lines changed

samples/KristofferStrube.Blazor.WebAuthentication.WasmExample/Pages/Index.razor.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,10 @@ private async Task CreateCredential()
9191
Timeout = 360000,
9292
Hints = ["client-device"],
9393
Attestation = AttestationConveyancePreference.Direct,
94-
AttestationFormats = [AttestationFormat.TPM]
94+
AttestationFormats = [AttestationFormat.TPM, AttestationFormat.Packed, AttestationFormat.AndroidKey, AttestationFormat.AndroidSafetyNet, AttestationFormat.Apple]
9595
}
9696
};
9797

98-
Console.WriteLine(System.Text.Json.JsonSerializer.Serialize(options));
99-
10098
credential = await container.CreateAsync(options) is { } c ? new PublicKeyCredential(c) : null;
10199

102100
if (credential is not null)

0 commit comments

Comments
 (0)