diff --git a/.gitignore b/.gitignore index c6b2f6fb..24d3aae3 100644 --- a/.gitignore +++ b/.gitignore @@ -330,5 +330,6 @@ ASALocalRun/ .mfractor/ /results /Test/coverage.netcoreapp3.1.cobertura.xml + .DS_Store /testEnvironments.json diff --git a/Demo/Controller.cs b/Demo/Controller.cs index 80792db4..a8dcd2a2 100644 --- a/Demo/Controller.cs +++ b/Demo/Controller.cs @@ -9,7 +9,6 @@ using Fido2NetLib.Objects; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; - using static Fido2NetLib.Fido2; namespace Fido2Demo @@ -21,9 +20,11 @@ public class MyController : Controller public static IMetadataService _mds; public static readonly DevelopmentInMemoryStore DemoStorage = new DevelopmentInMemoryStore(); - public MyController(IFido2 fido2) + public MyController(IFido2 fido2, IMetadataService metadataService) { _fido2 = fido2; + + _mds = metadataService; } private string FormatException(Exception e) diff --git a/Demo/Pages/_Layout.cshtml b/Demo/Pages/_Layout.cshtml index 7509e01c..ca86e12a 100644 --- a/Demo/Pages/_Layout.cshtml +++ b/Demo/Pages/_Layout.cshtml @@ -6,20 +6,21 @@ - FIDO2 & Webauthn for .NET + FIDO2 & WebAuthn for .NET - - + + + - +