2 interfaces inheriting from IDataProtector
Microsoft.AspNetCore.DataProtection (1)
Microsoft.AspNetCore.DataProtection.Extensions (1)
7 implementations of IDataProtector
Aspire.Dashboard.Tests (1)
Microsoft.AspNetCore.Authentication.Test (1)
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
Microsoft.AspNetCore.Components.Server.Tests (1)
Microsoft.AspNetCore.DataProtection (1)
Microsoft.AspNetCore.DataProtection.Extensions (1)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
190 references to IDataProtector
Aspire.Dashboard.Tests (1)
CustomEncryptorSample (1)
EntityFrameworkCoreSample (1)
Microsoft.AspNetCore.Antiforgery (1)
Microsoft.AspNetCore.Antiforgery.Test (1)
Microsoft.AspNetCore.Authentication (9)
Microsoft.AspNetCore.Authentication.Cookies (1)
Microsoft.AspNetCore.Authentication.OAuth (1)
Microsoft.AspNetCore.Authentication.OpenIdConnect (2)
Microsoft.AspNetCore.Authentication.Test (4)
Microsoft.AspNetCore.Authentication.Twitter (1)
Microsoft.AspNetCore.Authentication.WsFederation (1)
Microsoft.AspNetCore.Components.Endpoints (1)
Microsoft.AspNetCore.Components.Endpoints.Tests (2)
Microsoft.AspNetCore.Components.Server (8)
Microsoft.AspNetCore.Components.Server.Tests (2)
Microsoft.AspNetCore.DataProtection (4)
Microsoft.AspNetCore.DataProtection.Abstractions (26)
Microsoft.AspNetCore.DataProtection.Abstractions.Tests (48)
DataProtectionCommonExtensionsTests.cs (48)
24var mockProtector = new Mock<IDataProtector>();
26var provider = mockProtector.Object;
41var mockProtector = new Mock<IDataProtector>();
43var provider = mockProtector.Object;
56var finalExpectedProtector = new Mock<IDataProtector>().Object;
58var thirdMock = new Mock<IDataProtector>();
60var secondMock = new Mock<IDataProtector>();
62var firstMock = new Mock<IDataProtector>();
66var retVal = firstMock.Object.CreateProtector((IEnumerable<string>)new string[] { "first", "second", "third" });
76var finalExpectedProtector = new Mock<IDataProtector>().Object;
78var thirdMock = new Mock<IDataProtector>();
80var secondMock = new Mock<IDataProtector>();
82var firstMock = new Mock<IDataProtector>();
86var retVal = firstMock.Object.CreateProtector("first", "second", "third");
98var finalExpectedProtector = new Mock<IDataProtector>().Object;
99var firstMock = new Mock<IDataProtector>();
103var retVal = firstMock.Object.CreateProtector("first", subPurposes);
143var mockProtector = new Mock<IDataProtector>();
162var mockProtector = new Mock<IDataProtector>();
179var finalExpectedProtector = new Mock<IDataProtector>().Object;
181var thirdMock = new Mock<IDataProtector>();
183var secondMock = new Mock<IDataProtector>();
185var firstMock = new Mock<IDataProtector>();
193var retVal = services.GetDataProtector((IEnumerable<string>)new string[] { "first", "second", "third" });
203var finalExpectedProtector = new Mock<IDataProtector>().Object;
205var thirdMock = new Mock<IDataProtector>();
207var secondMock = new Mock<IDataProtector>();
209var firstMock = new Mock<IDataProtector>();
217var retVal = services.GetDataProtector("first", "second", "third");
229var finalExpectedProtector = new Mock<IDataProtector>().Object;
230var firstMock = new Mock<IDataProtector>();
237var retVal = services.GetDataProtector("first", subPurposes);
247Mock<IDataProtector> mockProtector = new Mock<IDataProtector>();
261Mock<IDataProtector> mockProtector = new Mock<IDataProtector>();
275Mock<IDataProtector> mockProtector = new Mock<IDataProtector>();
288Mock<IDataProtector> mockProtector = new Mock<IDataProtector>();
303Mock<IDataProtector> mockProtector = new Mock<IDataProtector>();
Microsoft.AspNetCore.DataProtection.Extensions (14)
Microsoft.AspNetCore.DataProtection.Extensions.Tests (20)
Microsoft.AspNetCore.DataProtection.Tests (23)
Microsoft.AspNetCore.Identity (3)
Microsoft.AspNetCore.Mvc.TagHelpers.Test (3)
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (6)
Microsoft.AspNetCore.Session (3)
NonDISample (1)
Redis (1)