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 4797fb5 commit 5b23168Copy full SHA for 5b23168
test/Microsoft.Identity.Abstractions.Tests/CredentialDescriptionIdTest.cs
@@ -38,7 +38,11 @@ public void DisplayCredentialDescriptionIdsForAllSourceTypes()
38
new CredentialDescription
39
{
40
SourceType = CredentialSource.Certificate,
41
+#if NET10_0_OR_GREATER
42
+ Certificate = X509CertificateLoader.LoadCertificate(Convert.FromBase64String(base64encoded)), // "path/to/certificate.pfx"
43
+#else
44
Certificate = new X509Certificate2(Convert.FromBase64String(base64encoded)), // "path/to/certificate.pfx"
45
+#endif
46
CertificatePassword = "password"
47
}
48
},
0 commit comments